Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys/arch/sparc/include



Module Name:    syssrc
Committed By:   thorpej
Date:           Wed Jul 17 05:57:47 UTC 2002

Modified Files:
        syssrc/sys/arch/sparc/include: param.h

Log Message:
Instead of using a matrix of configured CPU types, first count
how many CPU types are configured into the kernel.  Then, use this
information to define the CPU predicate macros according to the
following rules:

1. If support for a CPU type is not configured into the kernel,
   then the test is always false.

2. Otherwise, if only one CPU type is configured into the kernel,
   then the test is always true.

3. Otherwise, we have to reference the cputyp variable.

Use a similar strategy for short-cutting the page size related
definitions.


To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 syssrc/sys/arch/sparc/include/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index