x86/xen: further PVHv1 removal cleanup
The AP startup extern variable declarations are not longer needed, since PVHv2 uses the native AP startup path using the lapic. Remove the declaration and make the variables static to mp_machdep.c Sponsored by: Citrix Systems R&D
This commit is contained in:
parent
c232fd4b41
commit
9e14ac116e
@ -99,10 +99,10 @@ __FBSDID("$FreeBSD$");
|
||||
#define AP_BOOTPT_SZ (PAGE_SIZE * 4)
|
||||
|
||||
/* Temporary variables for init_secondary() */
|
||||
char *doublefault_stack;
|
||||
char *mce_stack;
|
||||
char *nmi_stack;
|
||||
char *dbg_stack;
|
||||
static char *doublefault_stack;
|
||||
static char *mce_stack;
|
||||
static char *nmi_stack;
|
||||
static char *dbg_stack;
|
||||
|
||||
extern u_int mptramp_la57;
|
||||
|
||||
|
@ -96,14 +96,6 @@ static caddr_t xen_pvh_parse_preload_data(uint64_t);
|
||||
static void xen_pvh_parse_memmap(caddr_t, vm_paddr_t *, int *);
|
||||
|
||||
/*---------------------------- Extern Declarations ---------------------------*/
|
||||
#ifdef SMP
|
||||
/* Variables used by amd64 mp_machdep to start APs */
|
||||
extern char *doublefault_stack;
|
||||
extern char *mce_stack;
|
||||
extern char *nmi_stack;
|
||||
extern char *dbg_stack;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Placed by the linker at the end of the bss section, which is the last
|
||||
* section loaded by Xen before loading the symtab and strtab.
|
||||
|
Loading…
Reference in New Issue
Block a user