projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a6ca9
)
x86/hvm: fix extra size passed to __trace_var()
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 20 Sep 2010 17:53:18 +0000
(18:53 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 20 Sep 2010 17:53:18 +0000
(18:53 +0100)
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>
xen/include/asm-x86/hvm/trace.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/hvm/trace.h
b/xen/include/asm-x86/hvm/trace.h
index 57dacaf6192168d75d1467671b4cc0de2b1f80ce..2245b7ab1d1037de36c984bc28f55da748308283 100644
(file)
--- 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)