aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/smp.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-05-10 17:45:49 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-05-10 17:45:49 +0000
commitba228f6d9632d96ba3303ae329172f2f96f4463f (patch)
treedd87f296fba822ed95b00e5e1e39ea8a75c57b61 /sys/sys/smp.h
parent6fac233604f282c1c70048d338442fcf16403b78 (diff)
downloadsrc-ba228f6d9632d96ba3303ae329172f2f96f4463f.tar.gz
src-ba228f6d9632d96ba3303ae329172f2f96f4463f.zip
- 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
Notes
Notes: svn path=/head/; revision=76440
Diffstat (limited to 'sys/sys/smp.h')
-rw-r--r--sys/sys/smp.h6
1 files changed, 0 insertions, 6 deletions
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 <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);