aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen/common/trace.c')
-rw-r--r--xen/common/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/trace.c b/xen/common/trace.c
index 63ea0b7ba0..41ddc336e1 100644
--- a/xen/common/trace.c
+++ b/xen/common/trace.c
@@ -420,7 +420,7 @@ int tb_control(xen_sysctl_tbuf_op_t *tbc)
* hypercall returns, no more records should be placed into the buffers. */
for_each_online_cpu(i)
{
- int flags;
+ unsigned long flags;
spin_lock_irqsave(&per_cpu(t_lock, i), flags);
per_cpu(lost_records, i)=0;
spin_unlock_irqrestore(&per_cpu(t_lock, i), flags);