diff options
-rw-r--r-- | arch/x86/xen/smp.c | 2 | ||||
-rw-r--r-- | drivers/xen/cpu_hotplug.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index fe03eeed7b48..738da0cb0d8b 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 | ||
diff --git a/drivers/xen/cpu_hotplug.c b/drivers/xen/cpu_hotplug.c index bdfd584ad853..0f765a920189 100644 --- a/drivers/xen/cpu_hotplug.c +++ b/drivers/xen/cpu_hotplug.c | |||
@@ -86,7 +86,7 @@ static int setup_cpu_watcher(struct notifier_block *notifier, | |||
86 | for_each_possible_cpu(cpu) { | 86 | for_each_possible_cpu(cpu) { |
87 | if (vcpu_online(cpu) == 0) { | 87 | if (vcpu_online(cpu) == 0) { |
88 | (void)cpu_down(cpu); | 88 | (void)cpu_down(cpu); |
89 | cpu_clear(cpu, cpu_present_map); | 89 | set_cpu_present(cpu, false); |
90 | } | 90 | } |
91 | } | 91 | } |
92 | 92 | ||