diff options
author | ps <ps@FreeBSD.org> | 2000-09-23 12:18:06 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-09-23 12:18:06 +0000 |
commit | 54345fd41bbe91db9411f88932ea2f30315705ca (patch) | |
tree | fa6af5a498e4a75de9ffa0c9452502b009ca182f /sys/amd64/include/smp.h | |
parent | 7d508e1a38ba85283dfae43adc76e0ef44192200 (diff) | |
download | FreeBSD-src-54345fd41bbe91db9411f88932ea2f30315705ca.zip FreeBSD-src-54345fd41bbe91db9411f88932ea2f30315705ca.tar.gz |
Move MAXCPU from machine/smp.h to machine/param.h to fix breakage
with !SMP kernels. Also, replace NCPUS with MAXCPU since they are
redundant.
Diffstat (limited to 'sys/amd64/include/smp.h')
-rw-r--r-- | sys/amd64/include/smp.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/amd64/include/smp.h b/sys/amd64/include/smp.h index dab3611..1680518 100644 --- a/sys/amd64/include/smp.h +++ b/sys/amd64/include/smp.h @@ -22,16 +22,6 @@ # error APIC_IO required for SMP, add "options APIC_IO" to your config file. #endif /* SMP && !APIC_IO */ -/* - * Maximum number of CPUs we will use. - * In the !SMP case we save ourselves a litle space. - */ -#if defined(SMP) -# define MAXCPU 16 -#else -# define MAXCPU 1 -#endif /* SMP */ - #if defined(SMP) || defined(APIC_IO) #ifndef LOCORE |