summaryrefslogtreecommitdiffstats
path: root/sys/sys/smp.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-09-03 08:19:31 +0000
committerjulian <julian@FreeBSD.org>2004-09-03 08:19:31 +0000
commite2d37a7c260e349a4b30098200a11b8cff23abba (patch)
tree8cf6838f31375fe63bcd10490eb92e3da982bfcd /sys/sys/smp.h
parent373bbfc18445a9c3d361d56b73a25f76cbb6fb62 (diff)
downloadFreeBSD-src-e2d37a7c260e349a4b30098200a11b8cff23abba.zip
FreeBSD-src-e2d37a7c260e349a4b30098200a11b8cff23abba.tar.gz
ooops finish last commit.
moved the variables but not the declarations.
Diffstat (limited to 'sys/sys/smp.h')
-rw-r--r--sys/sys/smp.h7
1 files changed, 4 insertions, 3 deletions
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
OpenPOWER on IntegriCloud