diff options
author | julian <julian@FreeBSD.org> | 2004-09-03 08:19:31 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2004-09-03 08:19:31 +0000 |
commit | e2d37a7c260e349a4b30098200a11b8cff23abba (patch) | |
tree | 8cf6838f31375fe63bcd10490eb92e3da982bfcd /sys | |
parent | 373bbfc18445a9c3d361d56b73a25f76cbb6fb62 (diff) | |
download | FreeBSD-src-e2d37a7c260e349a4b30098200a11b8cff23abba.zip FreeBSD-src-e2d37a7c260e349a4b30098200a11b8cff23abba.tar.gz |
ooops finish last commit.
moved the variables but not the declarations.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/sched_4bsd.c | 1 | ||||
-rw-r--r-- | sys/sys/smp.h | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 8175b9e..5498d5c 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <sys/smp.h> #include <sys/sysctl.h> #include <sys/sx.h> +#include <machine/smp.h> /* * INVERSE_ESTCPU_WEIGHT is only suitable for statclock() frequencies in diff --git a/sys/sys/smp.h b/sys/sys/smp.h index b9f630c..ba95183 100644 --- a/sys/sys/smp.h +++ b/sys/sys/smp.h @@ -49,16 +49,17 @@ extern int smp_active; extern int smp_cpus; extern volatile cpumask_t started_cpus; extern volatile cpumask_t stopped_cpus; +extern cpumask_t idle_cpus_mask; +extern cpumask_t hlt_cpus_mask; +extern cpumask_t logical_cpus_mask; #endif /* SMP */ extern u_int mp_maxid; +extern int mp_maxcpus; extern int mp_ncpus; extern volatile int smp_started; extern cpumask_t all_cpus; -extern cpumask_t idle_cpus_mask; -extern cpumask_t hlt_cpus_mask; -extern cpumask_t logical_cpus_mask; /* * Macro allowing us to determine whether a CPU is absent at any given |