2010-12-11 00:38:27 +01:00
|
|
|
Are these unsigned long lines really unsigned int, u32?
|
|
|
|
|
|
|
|
grep -En 'unsigned[[:blank:]]+long' xenalyze.hg/xenalyze.c | \
|
|
|
|
grep -Ev 'unsigned[[:blank:]]+long[[:blank:]]+long'
|
|
|
|
|
|
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
|
|
|
|
---
|
|
|
|
xenalyze.hg/xenalyze.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2011-02-04 22:19:54 +01:00
|
|
|
Index: xen-4.0.2-testing/xenalyze.hg/xenalyze.c
|
|
|
|
===================================================================
|
|
|
|
--- xen-4.0.2-testing.orig/xenalyze.hg/xenalyze.c
|
|
|
|
+++ xen-4.0.2-testing/xenalyze.hg/xenalyze.c
|
2010-12-11 00:38:27 +01:00
|
|
|
@@ -3588,12 +3588,12 @@ void hvm_mmio_assist_process(struct reco
|
|
|
|
if(mevt.x64) {
|
|
|
|
e->gpa = r->x64.gpa;
|
|
|
|
e->data = r->x64.data;
|
|
|
|
- if(ri->extra_words*(sizeof(unsigned long))==sizeof(r->x64))
|
|
|
|
+ if(ri->extra_words*(sizeof(unsigned))==sizeof(r->x64))
|
|
|
|
e->mmio_data_valid=1;
|
|
|
|
} else {
|
|
|
|
e->gpa = r->x32.gpa;
|
|
|
|
e->data = r->x32.data;
|
|
|
|
- if(ri->extra_words*(sizeof(unsigned long))==sizeof(r->x32))
|
|
|
|
+ if(ri->extra_words*(sizeof(unsigned))==sizeof(r->x32))
|
|
|
|
e->mmio_data_valid=1;
|
|
|
|
}
|
|
|
|
|