Skip to contentSkip to conversation

x86-64-longs.patch

PATCH New Arun Sharma 1 participant 1 message Apr 19, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 x86-64-longs.patch

Use the correct data type for x86-64

xen/include/asm-x86/vmx.h +2 -2
diff -Nru a/xen/include/asm-x86/vmx.h b/xen/include/asm-x86/vmx.h
@@ -194,7 +194,7 @@
     return 0;
 }
 
-static inline int __vmread (unsigned int field, void *value)
+static inline int __vmread (unsigned long field, void *value)
 {
     unsigned long eflags;
     unsigned long ecx = 0;
@@ -213,7 +213,7 @@
     return 0;
 }
 
-static inline int __vmwrite (unsigned int field, unsigned int value)
+static inline int __vmwrite (unsigned long field, unsigned long value)
 {
     unsigned long eflags;