diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-11-08 10:35:12 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-11-08 10:35:12 +0100 |
commit | fe9ff5a9d54cced306aefaba126340e0c596717e (patch) | |
tree | f6343fff80683d6362cdb467178173d9a0223e07 /xen/arch/x86/smp.c | |
parent | e82e07391c18eddbe7f6f969e4c7181468fe232a (diff) | |
download | xen-fe9ff5a9d54cced306aefaba126340e0c596717e.tar.gz xen-fe9ff5a9d54cced306aefaba126340e0c596717e.tar.bz2 xen-fe9ff5a9d54cced306aefaba126340e0c596717e.zip |
eliminate cpu_clear()
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/arch/x86/smp.c')
-rw-r--r-- | xen/arch/x86/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/smp.c b/xen/arch/x86/smp.c index 84ba4bba29..be80415034 100644 --- a/xen/arch/x86/smp.c +++ b/xen/arch/x86/smp.c @@ -226,7 +226,7 @@ fastcall void smp_invalidate_interrupt(void) if ( !__sync_local_execstate() || (flush_flags & (FLUSH_TLB_GLOBAL | FLUSH_CACHE)) ) flush_area_local(flush_va, flush_flags); - cpu_clear(smp_processor_id(), flush_cpumask); + cpumask_clear_cpu(smp_processor_id(), &flush_cpumask); irq_exit(); } @@ -353,7 +353,7 @@ void __stop_this_cpu(void) static void stop_this_cpu(void *dummy) { __stop_this_cpu(); - cpu_clear(smp_processor_id(), cpu_online_map); + cpumask_clear_cpu(smp_processor_id(), &cpu_online_map); for ( ; ; ) halt(); } |