mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
This commit is contained in:
parent
1fe003b61f
commit
8b3e7871bc
2 changed files with 1 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
extern void (*cpustop_restartfunc)(void);
|
||||
extern int mp_ncpus;
|
||||
extern int smp_active;
|
||||
extern int smp_started;
|
||||
extern volatile int smp_started;
|
||||
extern int smp_cpus;
|
||||
extern u_int all_cpus;
|
||||
extern volatile u_int started_cpus;
|
||||
|
|
|
|||
Loading…
Reference in a new issue