aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/trace.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-09-20 18:53:18 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-09-20 18:53:18 +0100
commit4276fde7f870feeec65f33e43b2e0cd5ae79b572 (patch)
treed416f7c98c672a66e4245435241138609ff6d2ff /xen/include/asm-x86/hvm/trace.h
parenta8a6ca9fe75210c011e2e775175acd3601603306 (diff)
downloadxen-4276fde7f870feeec65f33e43b2e0cd5ae79b572.tar.gz
xen-4276fde7f870feeec65f33e43b2e0cd5ae79b572.tar.bz2
xen-4276fde7f870feeec65f33e43b2e0cd5ae79b572.zip
x86/hvm: fix extra size passed to __trace_var()
While removing the casts on the last arguments to __trace_var() I noticed the bogus addition of 1 here. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/trace.h')
-rw-r--r--xen/include/asm-x86/hvm/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/hvm/trace.h b/xen/include/asm-x86/hvm/trace.h
index 57dacaf619..2245b7ab1d 100644
--- a/xen/include/asm-x86/hvm/trace.h
+++ b/xen/include/asm-x86/hvm/trace.h
@@ -72,7 +72,7 @@
_d.d[4]=(d5); \
_d.d[5]=(d6); \
__trace_var(TRC_HVM_ ## evt, cycles, \
- sizeof(u32)*count+1, &_d); \
+ sizeof(*_d.d) * count, &_d); \
} \
} while(0)