aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/trace.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-11-08 10:33:02 +0100
committerJan Beulich <jbeulich@suse.com>2011-11-08 10:33:02 +0100
commitd814eb02551c8d5150947bc5418eff42ec93a07e (patch)
tree1b7fae94255ff3e468d5f7ebb06c33e4daca6dfc /xen/common/trace.c
parent8996e454310d4fa3f587b65ccfe57e366e68a204 (diff)
downloadxen-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/common/trace.c')
-rw-r--r--xen/common/trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/trace.c b/xen/common/trace.c
index 746bf4b750..5772f248f7 100644
--- a/xen/common/trace.c
+++ b/xen/common/trace.c
@@ -323,7 +323,7 @@ int trace_will_trace_event(u32 event)
& ((event >> TRC_SUBCLS_SHIFT) & 0xf )) == 0 )
return 0;
- if ( !cpu_isset(smp_processor_id(), tb_cpu_mask) )
+ if ( !cpumask_test_cpu(smp_processor_id(), &tb_cpu_mask) )
return 0;
return 1;
@@ -711,7 +711,7 @@ void __trace_var(u32 event, bool_t cycles, unsigned int extra,
& ((event >> TRC_SUBCLS_SHIFT) & 0xf )) == 0 )
return;
- if ( !cpu_isset(smp_processor_id(), tb_cpu_mask) )
+ if ( !cpumask_test_cpu(smp_processor_id(), &tb_cpu_mask) )
return;
/* Read tb_init_done /before/ t_bufs. */