diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/xen/cpu_hotplug.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/xen/cpu_hotplug.c')
-rw-r--r-- | drivers/xen/cpu_hotplug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/xen/cpu_hotplug.c b/drivers/xen/cpu_hotplug.c index bdfd584ad853..14e2d995e958 100644 --- a/drivers/xen/cpu_hotplug.c +++ b/drivers/xen/cpu_hotplug.c | |||
@@ -1,5 +1,6 @@ | |||
1 | #include <linux/notifier.h> | 1 | #include <linux/notifier.h> |
2 | 2 | ||
3 | #include <xen/xen.h> | ||
3 | #include <xen/xenbus.h> | 4 | #include <xen/xenbus.h> |
4 | 5 | ||
5 | #include <asm/xen/hypervisor.h> | 6 | #include <asm/xen/hypervisor.h> |
@@ -86,7 +87,7 @@ static int setup_cpu_watcher(struct notifier_block *notifier, | |||
86 | for_each_possible_cpu(cpu) { | 87 | for_each_possible_cpu(cpu) { |
87 | if (vcpu_online(cpu) == 0) { | 88 | if (vcpu_online(cpu) == 0) { |
88 | (void)cpu_down(cpu); | 89 | (void)cpu_down(cpu); |
89 | cpu_clear(cpu, cpu_present_map); | 90 | set_cpu_present(cpu, false); |
90 | } | 91 | } |
91 | } | 92 | } |
92 | 93 | ||