aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2001-10-31 20:43:48 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2001-10-31 20:43:48 +0000
commit6b094090d4057f6a7d1428cef1356a4aed886a95 (patch)
tree2cd8fece6cc53050e24248285f05700c4c385db2
parent1245202150fa872e1bf58265819d8df448db26d6 (diff)
downloadsrc-6b094090d4057f6a7d1428cef1356a4aed886a95.tar.gz
src-6b094090d4057f6a7d1428cef1356a4aed886a95.zip
Make the actual volatile int smp_started live *somewhere*. This is
a temporary fix so that we can compile kernels. I waited 30 minutes for a response from the person who would likely know, but any longer is too long to wait with breakage at ToT.
Notes
Notes: svn path=/head/; revision=85788
-rw-r--r--sys/amd64/amd64/mp_machdep.c2
-rw-r--r--sys/amd64/amd64/mptable.c2
-rw-r--r--sys/amd64/include/mptable.h2
-rw-r--r--sys/i386/i386/mp_machdep.c2
-rw-r--r--sys/i386/i386/mptable.c2
-rw-r--r--sys/i386/include/mptable.h2
6 files changed, 12 insertions, 0 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index 13144b964b60..0aa621fe173d 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -291,6 +291,8 @@ struct pcb stoppcbs[MAXCPU];
int invltlb_ok = 0; /* throttle smp_invltlb() till safe */
SYSCTL_INT(_machdep, OID_AUTO, invltlb_ok, CTLFLAG_RW, &invltlb_ok, 0, "");
+volatile int smp_started;
+
/*
* Local data and functions.
*/
diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c
index 13144b964b60..0aa621fe173d 100644
--- a/sys/amd64/amd64/mptable.c
+++ b/sys/amd64/amd64/mptable.c
@@ -291,6 +291,8 @@ struct pcb stoppcbs[MAXCPU];
int invltlb_ok = 0; /* throttle smp_invltlb() till safe */
SYSCTL_INT(_machdep, OID_AUTO, invltlb_ok, CTLFLAG_RW, &invltlb_ok, 0, "");
+volatile int smp_started;
+
/*
* Local data and functions.
*/
diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h
index 13144b964b60..0aa621fe173d 100644
--- a/sys/amd64/include/mptable.h
+++ b/sys/amd64/include/mptable.h
@@ -291,6 +291,8 @@ struct pcb stoppcbs[MAXCPU];
int invltlb_ok = 0; /* throttle smp_invltlb() till safe */
SYSCTL_INT(_machdep, OID_AUTO, invltlb_ok, CTLFLAG_RW, &invltlb_ok, 0, "");
+volatile int smp_started;
+
/*
* Local data and functions.
*/
diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c
index 13144b964b60..0aa621fe173d 100644
--- a/sys/i386/i386/mp_machdep.c
+++ b/sys/i386/i386/mp_machdep.c
@@ -291,6 +291,8 @@ struct pcb stoppcbs[MAXCPU];
int invltlb_ok = 0; /* throttle smp_invltlb() till safe */
SYSCTL_INT(_machdep, OID_AUTO, invltlb_ok, CTLFLAG_RW, &invltlb_ok, 0, "");
+volatile int smp_started;
+
/*
* Local data and functions.
*/
diff --git a/sys/i386/i386/mptable.c b/sys/i386/i386/mptable.c
index 13144b964b60..0aa621fe173d 100644
--- a/sys/i386/i386/mptable.c
+++ b/sys/i386/i386/mptable.c
@@ -291,6 +291,8 @@ struct pcb stoppcbs[MAXCPU];
int invltlb_ok = 0; /* throttle smp_invltlb() till safe */
SYSCTL_INT(_machdep, OID_AUTO, invltlb_ok, CTLFLAG_RW, &invltlb_ok, 0, "");
+volatile int smp_started;
+
/*
* Local data and functions.
*/
diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h
index 13144b964b60..0aa621fe173d 100644
--- a/sys/i386/include/mptable.h
+++ b/sys/i386/include/mptable.h
@@ -291,6 +291,8 @@ struct pcb stoppcbs[MAXCPU];
int invltlb_ok = 0; /* throttle smp_invltlb() till safe */
SYSCTL_INT(_machdep, OID_AUTO, invltlb_ok, CTLFLAG_RW, &invltlb_ok, 0, "");
+volatile int smp_started;
+
/*
* Local data and functions.
*/