diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-11-08 10:33:02 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-11-08 10:33:02 +0100 |
commit | d814eb02551c8d5150947bc5418eff42ec93a07e (patch) | |
tree | 1b7fae94255ff3e468d5f7ebb06c33e4daca6dfc /xen/arch/x86/smpboot.c | |
parent | 8996e454310d4fa3f587b65ccfe57e366e68a204 (diff) | |
download | xen-d814eb02551c8d5150947bc5418eff42ec93a07e.tar.gz xen-d814eb02551c8d5150947bc5418eff42ec93a07e.tar.bz2 xen-d814eb02551c8d5150947bc5418eff42ec93a07e.zip |
eliminate cpu_test_xyz()
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/smpboot.c')
-rw-r--r-- | xen/arch/x86/smpboot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c index e1fd15e358..855e6216f1 100644 --- a/xen/arch/x86/smpboot.c +++ b/xen/arch/x86/smpboot.c @@ -138,7 +138,7 @@ static void synchronize_tsc_master(unsigned int slave) return; if ( boot_cpu_has(X86_FEATURE_TSC_RELIABLE) && - !cpu_isset(slave, tsc_sync_cpu_mask) ) + !cpumask_test_cpu(slave, &tsc_sync_cpu_mask) ) return; for ( i = 1; i <= 5; i++ ) @@ -162,7 +162,7 @@ static void synchronize_tsc_slave(unsigned int slave) return; if ( boot_cpu_has(X86_FEATURE_TSC_RELIABLE) && - !cpu_isset(slave, tsc_sync_cpu_mask) ) + !cpumask_test_cpu(slave, &tsc_sync_cpu_mask) ) return; for ( i = 1; i <= 5; i++ ) @@ -956,7 +956,7 @@ int __cpu_up(unsigned int cpu) return ret; set_cpu_state(CPU_STATE_ONLINE); - while ( !cpu_isset(cpu, cpu_online_map) ) + while ( !cpu_online(cpu) ) { cpu_relax(); process_pending_softirqs(); |