Currently, 020-paravirt-xen.patch contains inconsistent declarations for a
bunch of native_read/write functions. This patch updates the declarations
to use unsigned long for register values.
Signed-off-by: James Morris <jmorris@redhat.com>
---
include/asm-i386/paravirt.h | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff -purN -X dontdiff linux-pv-2.6.o/include/asm-i386/paravirt.h
linux-pv-2.6.x/include/asm-i386/paravirt.h
--- linux-pv-2.6.o/include/asm-i386/paravirt.h 2006-11-01 16:46:50.000000000
-0500
+++ linux-pv-2.6.x/include/asm-i386/paravirt.h 2006-11-01 16:57:47.000000000
-0500
@@ -176,18 +176,18 @@ extern struct paravirt_ops paravirt_ops;
back-ends which don't need their own version. */
fastcall void native_clts(void);
-fastcall unsigned int native_read_cr0(void);
-fastcall void native_write_cr0(unsigned int val);
+fastcall unsigned long native_read_cr0(void);
+fastcall void native_write_cr0(unsigned long val);
-fastcall unsigned int native_read_cr2(void);
-fastcall void native_write_cr2(unsigned int val);
+fastcall unsigned long native_read_cr2(void);
+fastcall void native_write_cr2(unsigned long val);
-fastcall unsigned int native_read_cr3(void);
-fastcall void native_write_cr3(unsigned int val);
+fastcall unsigned long native_read_cr3(void);
+fastcall void native_write_cr3(unsigned long val);
-fastcall unsigned int native_read_cr4(void);
-fastcall unsigned int native_read_cr4_safe(void);
-fastcall void native_write_cr4(unsigned int val);
+fastcall unsigned long native_read_cr4(void);
+fastcall unsigned long native_read_cr4_safe(void);
+fastcall void native_write_cr4(unsigned long val);
fastcall void native_wbinvd(void);