*Blush* forgot to test non SMP builds.. oddly enough some UP code (particularly

in the acpi code) seems to want this in a UP build. (I guess so you can have
a sigle kernel module that works for both)
This commit is contained in:
Julian Elischer 2004-09-01 18:05:43 +00:00
parent e33353b52b
commit 7e37fb1729

View File

@ -54,13 +54,14 @@ __FBSDID("$FreeBSD$");
#ifdef SMP
volatile cpumask_t stopped_cpus;
volatile cpumask_t started_cpus;
cpumask_t all_cpus;
cpumask_t idle_cpus_mask;
cpumask_t hlt_cpus_mask;
cpumask_t logical_cpus_mask;
void (*cpustop_restartfunc)(void);
#endif
/* amazingly enough this is used in non SMP code XXX BUG! */
cpumask_t all_cpus;
int mp_ncpus;
/* export this for libkvm consumers. */