diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-10-31 20:43:48 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-10-31 20:43:48 +0000 |
commit | b562f25651e21d6dd2582cec12be68c6b78ee31e (patch) | |
tree | 2cd8fece6cc53050e24248285f05700c4c385db2 /sys/amd64 | |
parent | 3d15d9e51d85a937885dab26ac983a9fcbff1957 (diff) | |
download | FreeBSD-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.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/mptable.c | 2 | ||||
-rw-r--r-- | sys/amd64/include/mptable.h | 2 |
3 files changed, 6 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. */ |