From ba228f6d9632d96ba3303ae329172f2f96f4463f Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 10 May 2001 17:45:49 +0000 Subject: - 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 --- sys/sys/smp.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sys/sys/smp.h') diff --git a/sys/sys/smp.h b/sys/sys/smp.h index dffd914a8547..c608f964b5cb 100644 --- a/sys/sys/smp.h +++ b/sys/sys/smp.h @@ -13,15 +13,11 @@ #define _SYS_SMP_H_ #ifdef _KERNEL -#include #include #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); -- cgit v1.2.3