diff options
author | jhb <jhb@FreeBSD.org> | 2001-05-10 17:45:49 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-05-10 17:45:49 +0000 |
commit | 41fc4419f3762bcb77454d08efb22c049b2259bb (patch) | |
tree | 303330e5c0ad9c65ed39b222d1233727e2818286 /sys/sys/smp.h | |
parent | 666424d146293fddcb56001344a6f8e225cc13de (diff) | |
download | FreeBSD-src-41fc4419f3762bcb77454d08efb22c049b2259bb.zip FreeBSD-src-41fc4419f3762bcb77454d08efb22c049b2259bb.tar.gz |
- Split out the support for per-CPU data from the SMP code. UP kernels
have per-CPU data and gdb on the i386 at least needs access to it.
- Clean up includes in kern_idle.c and subr_smp.c.
Reviewed by: jake
Diffstat (limited to 'sys/sys/smp.h')
-rw-r--r-- | sys/sys/smp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/sys/smp.h b/sys/sys/smp.h index dffd914..c608f96 100644 --- a/sys/sys/smp.h +++ b/sys/sys/smp.h @@ -13,15 +13,11 @@ #define _SYS_SMP_H_ #ifdef _KERNEL -#include <machine/globaldata.h> #include <machine/smp.h> #ifndef LOCORE #ifdef SMP -SLIST_HEAD(cpuhead, globaldata); - -extern struct cpuhead cpuhead; extern void (*cpustop_restartfunc)(void); extern int mp_ncpus; extern int smp_active; @@ -51,8 +47,6 @@ void cpu_mp_start(void); void forward_signal(struct proc *); void forward_roundrobin(void); -void globaldata_register(struct globaldata *gd); -struct globaldata *globaldata_find(u_int cpuid); int restart_cpus(u_int); int stop_cpus(u_int); void smp_rendezvous_action(void); |