summaryrefslogtreecommitdiff
path: root/drivers/xen
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-11-03 14:58:38 +1030
committerIngo Molnar <mingo@elte.hu>2009-11-04 13:19:50 +0100
commitd7d3756c5b1277fafd132ce7a2211b388c3b5bd2 (patch)
treed817ad74ebf4167b19259bcc9e2d63d230c6fc91 /drivers/xen
parent51bb296b09a83ee1aae025778db38f9d2cc7bb1a (diff)
downloadlinux-rpi-d7d3756c5b1277fafd132ce7a2211b388c3b5bd2.tar.gz
linux-rpi-d7d3756c5b1277fafd132ce7a2211b388c3b5bd2.tar.bz2
linux-rpi-d7d3756c5b1277fafd132ce7a2211b388c3b5bd2.zip
cpumask: Use modern cpumask style in Xen
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Jeremy Fitzhardinge <jeremy@xensource.com> LKML-Reference: <200911031458.38406.rusty@rustcorp.com.au> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/xen')
-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,
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);
}
}