]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/xen/cpu_hotplug.c
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[karo-tx-linux.git] / drivers / xen / cpu_hotplug.c
index bdfd584ad853ac379e0b3ed9975034e86faa27c4..0f765a92018913ff93791a3c97c6d7d094c586df 100644 (file)
@@ -86,7 +86,7 @@ static int setup_cpu_watcher(struct notifier_block *notifier,
        for_each_possible_cpu(cpu) {
                if (vcpu_online(cpu) == 0) {
                        (void)cpu_down(cpu);
-                       cpu_clear(cpu, cpu_present_map);
+                       set_cpu_present(cpu, false);
                }
        }