cpumask: use modern cpumask style in Xen
Subsystems (3)
PATCH 12/14 cpumask: use modern cpumask style in Xen
Signed-off-by Rusty Russell <[email protected]>
To: Jeremy Fitzhardinge <[email protected]>
Cc: [email protected]
--- arch/x86/xen/smp.c | 2 +- drivers/xen/cpu_hotplug.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/xen/smp.c +1 -1
@@ -73,7 +73,7 @@ static __cpuinit void cpu_bringup(void)xen_setup_cpu_clockevents (); -cpu_set (cpu, cpu_online_map); +set_cpu_online (cpu, true);percpu_write (cpu_state,CPU_ONLINE );wmb ();
drivers/xen/cpu_hotplug.c +1 -1
@@ -86,7 +86,7 @@ static int setup_cpu_watcher(struct notifor_each_possible_cpu (cpu) {if (vcpu_online (cpu) ==0 ) { (void )cpu_down (cpu); -cpu_clear (cpu, cpu_present_map); +set_cpu_present (cpu, false); } }
[tip:x86/xen] cpumask: Use modern cpumask style in Xen
Commit-ID: d7d3756c5b1277fafd132ce7a2211b388c3b5bd2 Gitweb: http://git.kernel.org/tip/d7d3756c5b1277fafd132ce7a2211b388c3b5bd2 Author: Rusty Russell <[email protected]> AuthorDate: Tue, 3 Nov 2009 14:58:38 +1030 Committer: Ingo Molnar <[email protected]> CommitDate: Wed, 4 Nov 2009 13:19:50 +0100
cpumask: Use modern cpumask style in Xen
Signed-off-by Rusty Russell <[email protected]>
Cc Jeremy Fitzhardinge <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/xen/smp.c | 2 +- drivers/xen/cpu_hotplug.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/xen/smp.c +1 -1
@@ -73,7 +73,7 @@ static __cpuinit void cpu_bringup(void)xen_setup_cpu_clockevents (); -cpu_set (cpu, cpu_online_map); +set_cpu_online (cpu, true);percpu_write (cpu_state,CPU_ONLINE );wmb ();
drivers/xen/cpu_hotplug.c +1 -1
@@ -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); } }