Remove extern struct pcpu __pcpu[]; from the header file and

move it the the only file where it appears to be used.
This commit is contained in:
Alexander Kabaev 2007-05-19 05:03:59 +00:00
parent fa298d5ea8
commit d586dea015
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169731
2 changed files with 2 additions and 2 deletions

View File

@ -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.
*/

View File

@ -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;