summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2001-10-31 09:03:05 +0000
committermarcel <marcel@FreeBSD.org>2001-10-31 09:03:05 +0000
commitda09c05a54e23478a2733e24f1bd90926769cc84 (patch)
treea3e4bc63fb7f9f40b61250486ccaa6619d8e87f7 /sys/kern/subr_smp.c
parent42135eee82f8d50b44db863d46dcfe07bb12d99b (diff)
downloadFreeBSD-src-da09c05a54e23478a2733e24f1bd90926769cc84.zip
FreeBSD-src-da09c05a54e23478a2733e24f1bd90926769cc84.tar.gz
Make smp_started volatile in sys/smp.h and remove the volatile
declaration in subr_smp.c. This solves a compile problem with gcc 3.0.1 (ia64 cross-build). Reviewed: jhb
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r--sys/kern/subr_smp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index 03c6612..c046c6e 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -51,7 +51,6 @@ volatile u_int started_cpus;
void (*cpustop_restartfunc) __P((void));
int mp_ncpus;
-volatile int smp_started;
u_int all_cpus;
SYSCTL_NODE(_kern, OID_AUTO, smp, CTLFLAG_RD, NULL, "Kernel SMP");
OpenPOWER on IntegriCloud