xen/xenalyze.64bit.patch

31 lines
1.1 KiB
Diff
Raw Normal View History

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(-)
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
@@ -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;
}