summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2007-05-19 05:03:59 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2007-05-19 05:03:59 +0000
commitd586dea0155043dfd477db2476f03bf24ddd3413 (patch)
treeb9fbf03bbfc386be041b6495124a8180b8f11b7f /sys
parentfa298d5ea837e692c94989cde06a29dc5ecd793b (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/mp_machdep.c2
-rw-r--r--sys/amd64/include/md_var.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index ea306b140a35..4066866006df 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -80,6 +80,8 @@ int mp_naps; /* # of Applications processors */
int boot_cpu_id = -1; /* designated BSP */
extern int nkpt;
+extern struct pcpu __pcpu[];
+
/*
* CPU topology map datastructures for HTT.
*/
diff --git a/sys/amd64/include/md_var.h b/sys/amd64/include/md_var.h
index 03220e6a0640..348cb31468b5 100644
--- a/sys/amd64/include/md_var.h
+++ b/sys/amd64/include/md_var.h
@@ -57,8 +57,6 @@ extern int szsigcode;
extern uint64_t *vm_page_dump;
extern int vm_page_dump_size;
-extern struct pcpu __pcpu[];
-
typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss);
struct thread;
struct reg;