summaryrefslogtreecommitdiffstats
path: root/sys/x86/xen/pv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/x86/xen/pv.c')
-rw-r--r--sys/x86/xen/pv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/x86/xen/pv.c b/sys/x86/xen/pv.c
index 9ad9aa9..f4b68f0 100644
--- a/sys/x86/xen/pv.c
+++ b/sys/x86/xen/pv.c
@@ -97,6 +97,7 @@ static int xen_pv_start_all_aps(void);
#ifdef SMP
/* Variables used by amd64 mp_machdep to start APs */
extern char *doublefault_stack;
+extern char *mce_stack;
extern char *nmi_stack;
#endif
@@ -217,6 +218,8 @@ start_xen_ap(int cpu)
(void *)kmem_malloc(kernel_arena, stacksize, M_WAITOK | M_ZERO);
doublefault_stack =
(char *)kmem_malloc(kernel_arena, PAGE_SIZE, M_WAITOK | M_ZERO);
+ mce_stack =
+ (char *)kmem_malloc(kernel_arena, PAGE_SIZE, M_WAITOK | M_ZERO);
nmi_stack =
(char *)kmem_malloc(kernel_arena, PAGE_SIZE, M_WAITOK | M_ZERO);
dpcpu =
OpenPOWER on IntegriCloud