diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2004-09-03 08:19:31 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2004-09-03 08:19:31 +0000 |
| commit | 293968d8d3f5bb328708c58fda1e972263c719fe (patch) | |
| tree | 8cf6838f31375fe63bcd10490eb92e3da982bfcd /sys | |
| parent | 82a1dfc16df30063c3f961f9b3deacdaf609333f (diff) | |
Notes
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 8175b9e02fa7..5498d5c17692 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 b9f630cf8389..ba951830f49e 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 |
