summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2001-10-31 20:43:48 +0000
committermjacob <mjacob@FreeBSD.org>2001-10-31 20:43:48 +0000
commitb562f25651e21d6dd2582cec12be68c6b78ee31e (patch)
tree2cd8fece6cc53050e24248285f05700c4c385db2
parent3d15d9e51d85a937885dab26ac983a9fcbff1957 (diff)
downloadFreeBSD-src-b562f25651e21d6dd2582cec12be68c6b78ee31e.zip
FreeBSD-src-b562f25651e21d6dd2582cec12be68c6b78ee31e.tar.gz
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.
-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 13144b9..0aa621f 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 13144b9..0aa621f 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 13144b9..0aa621f 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 13144b9..0aa621f 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 13144b9..0aa621f 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 13144b9..0aa621f 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.
*/
OpenPOWER on IntegriCloud