virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] paravirt build fix
@ 2006-11-01 22:28 James Morris
  2006-11-01 22:40 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 2+ messages in thread
From: James Morris @ 2006-11-01 22:28 UTC (permalink / raw)
  To: virtualization

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);
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] paravirt build fix
  2006-11-01 22:28 [PATCH] paravirt build fix James Morris
@ 2006-11-01 22:40 ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2006-11-01 22:40 UTC (permalink / raw)
  To: James Morris; +Cc: virtualization

James Morris wrote:
> 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>
>   
Thanks.  I'd already gone through and fixed those up locally, and was 
about to push them out.

    J

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-01 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-01 22:28 [PATCH] paravirt build fix James Morris
2006-11-01 22:40 ` Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).