diff options
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/enlighten.c | 4 | ||||
-rw-r--r-- | arch/x86/xen/smp.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 79f97383cde3..b8e45f164e2a 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1092,10 +1092,8 @@ asmlinkage void __init xen_start_kernel(void) | |||
1092 | 1092 | ||
1093 | __supported_pte_mask |= _PAGE_IOMAP; | 1093 | __supported_pte_mask |= _PAGE_IOMAP; |
1094 | 1094 | ||
1095 | #ifdef CONFIG_X86_64 | ||
1096 | /* Work out if we support NX */ | 1095 | /* Work out if we support NX */ |
1097 | check_efer(); | 1096 | x86_configure_nx(); |
1098 | #endif | ||
1099 | 1097 | ||
1100 | xen_setup_features(); | 1098 | xen_setup_features(); |
1101 | 1099 | ||
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index 360f8d8c19cd..64757c0ba5fc 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c | |||
@@ -73,7 +73,7 @@ static __cpuinit void cpu_bringup(void) | |||
73 | 73 | ||
74 | xen_setup_cpu_clockevents(); | 74 | xen_setup_cpu_clockevents(); |
75 | 75 | ||
76 | cpu_set(cpu, cpu_online_map); | 76 | set_cpu_online(cpu, true); |
77 | percpu_write(cpu_state, CPU_ONLINE); | 77 | percpu_write(cpu_state, CPU_ONLINE); |
78 | wmb(); | 78 | wmb(); |
79 | 79 | ||