]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/xen/cpu_hotplug.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6
[karo-tx-linux.git] / drivers / xen / cpu_hotplug.c
index bdfd584ad853ac379e0b3ed9975034e86faa27c4..14e2d995e95800ca88a064ac5ba09caec2b48973 100644 (file)
@@ -1,5 +1,6 @@
 #include <linux/notifier.h>
 
+#include <xen/xen.h>
 #include <xen/xenbus.h>
 
 #include <asm/xen/hypervisor.h>
@@ -86,7 +87,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);
                }
        }