summaryrefslogtreecommitdiffstats
path: root/sys/x86/xen
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-23 17:43:55 +0000
committerngie <ngie@FreeBSD.org>2015-12-23 17:43:55 +0000
commita266f2369acc88773cc3cea71ff7ce9bda3ead9c (patch)
tree9e6735675263e4200a2eb547a879899bdec2d24c /sys/x86/xen
parent41d598fdddc33d33a063c904043fea9bcc8867db (diff)
downloadFreeBSD-src-a266f2369acc88773cc3cea71ff7ce9bda3ead9c.zip
FreeBSD-src-a266f2369acc88773cc3cea71ff7ce9bda3ead9c.tar.gz
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
Diffstat (limited to 'sys/x86/xen')
-rw-r--r--sys/x86/xen/pv.c5
-rw-r--r--sys/x86/xen/xen_apic.c6
2 files changed, 0 insertions, 11 deletions
diff --git a/sys/x86/xen/pv.c b/sys/x86/xen/pv.c
index 50d2e76..58eb736 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 a65f3b5..9400378 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)
OpenPOWER on IntegriCloud