From d586dea0155043dfd477db2476f03bf24ddd3413 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Sat, 19 May 2007 05:03:59 +0000 Subject: Remove extern struct pcpu __pcpu[]; from the header file and move it the the only file where it appears to be used. --- sys/amd64/amd64/mp_machdep.c | 2 ++ sys/amd64/include/md_var.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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; -- cgit v1.3