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:
parent
fa298d5ea8
commit
d586dea015
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169731
@ -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.
|
||||
*/
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user