aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/xen/cpu_hotplug.c2
1 files changed, 1 insertions, 1 deletions
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