diff --git a/sys/x86/xen/pv.c b/sys/x86/xen/pv.c index 50d2e76187c..58eb7363f9b 100644 --- a/sys/x86/xen/pv.c +++ b/sys/x86/xen/pv.c @@ -96,13 +96,8 @@ static int xen_pv_start_all_aps(void); /*---------------------------- Extern Declarations ---------------------------*/ #ifdef SMP /* Variables used by amd64 mp_machdep to start APs */ -extern struct mtx ap_boot_mtx; -extern void *bootstacks[]; extern char *doublefault_stack; extern char *nmi_stack; -extern void *dpcpu; -extern int bootAP; -extern char *bootSTK; #endif /* diff --git a/sys/x86/xen/xen_apic.c b/sys/x86/xen/xen_apic.c index a65f3b5efb9..9400378d1b3 100644 --- a/sys/x86/xen/xen_apic.c +++ b/sys/x86/xen/xen_apic.c @@ -74,12 +74,6 @@ static driver_filter_t xen_cpususpend_handler; static driver_filter_t xen_cpustophard_handler; #endif -/*---------------------------- Extern Declarations ---------------------------*/ -/* Variables used by mp_machdep to perform the MMU related IPIs */ -#ifdef __amd64__ -extern int pmap_pcid_enabled; -#endif - /*---------------------------------- Macros ----------------------------------*/ #define IPI_TO_IDX(ipi) ((ipi) - APIC_IPI_INTS)