summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/db_interface.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-05-10 17:45:49 +0000
committerjhb <jhb@FreeBSD.org>2001-05-10 17:45:49 +0000
commit41fc4419f3762bcb77454d08efb22c049b2259bb (patch)
tree303330e5c0ad9c65ed39b222d1233727e2818286 /sys/amd64/amd64/db_interface.c
parent666424d146293fddcb56001344a6f8e225cc13de (diff)
downloadFreeBSD-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/amd64/amd64/db_interface.c')
-rw-r--r--sys/amd64/amd64/db_interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/amd64/db_interface.c b/sys/amd64/amd64/db_interface.c
index cdaefe4..51fc835 100644
--- a/sys/amd64/amd64/db_interface.c
+++ b/sys/amd64/amd64/db_interface.c
@@ -36,6 +36,7 @@
#include <sys/ktr.h>
#include <sys/linker_set.h>
#include <sys/lock.h>
+#include <sys/pcpu.h>
#include <sys/proc.h>
#include <sys/smp.h>
OpenPOWER on IntegriCloud