diff options
author | marcel <marcel@FreeBSD.org> | 2001-10-31 09:03:05 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2001-10-31 09:03:05 +0000 |
commit | da09c05a54e23478a2733e24f1bd90926769cc84 (patch) | |
tree | a3e4bc63fb7f9f40b61250486ccaa6619d8e87f7 /sys/kern/subr_smp.c | |
parent | 42135eee82f8d50b44db863d46dcfe07bb12d99b (diff) | |
download | FreeBSD-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.c | 1 |
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"); |