From b59f7a7ad818ea30770e574fc1ecc2ac1bb370d3 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Wed, 23 Dec 2015 17:43:55 +0000 Subject: [PATCH] Remove redundant declarations in sys/x86/xen which are now handled in other sys/x86 headers Differential Revision: https://reviews.freebsd.org/D4685 X-MFC with: r291949 Sponsored by: EMC / Isilon Storage Division --- sys/x86/xen/pv.c | 5 ----- sys/x86/xen/xen_apic.c | 6 ------ 2 files changed, 11 deletions(-) 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)