[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Another fix for handling ar.kr's



# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID f064ce67e5247f99455506da6adaf05cb8313aaa
# Parent  c83307a81602ab4e3fa8b4c07aa6ee97b9742bca
Another fix for handling ar.kr's

diff -r c83307a81602 -r f064ce67e524 
linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h
--- a/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h        Wed Sep 21 
19:41:25 2005
+++ b/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h        Wed Sep 21 
20:13:07 2005
@@ -94,7 +94,7 @@
 })
 
 // for now, just use privop.  may use hyperprivop later
-#define xen_set_kr(regnum,val) (__ia64_setreg(regnum,val))
+/*#define xen_set_kr(regnum,val) (__ia64_setreg(regnum,val)) */
 
 /* turning off interrupts can be paravirtualized simply by writing
  * to a memory-mapped virtual psr.i bit (implemented as a 16-bit bool) */
@@ -193,8 +193,9 @@
 ({                                                                     \
        switch(regnum) {                                                \
        case _IA64_REG_AR_KR0 ... _IA64_REG_AR_KR7:                     \
-               (running_on_xen) ?                                      \
-                       xen_set_kr((regnum-_IA64_REG_AR_KR0), val) :    \
+/* for now, just use privop.  may use hyperprivop later */             \
+/*             (running_on_xen) ?                                      \
+                       xen_set_kr((regnum-_IA64_REG_AR_KR0), val) : */ \
                        __ia64_setreg(regnum,val);                      \
                break;                                                  \
        case _IA64_REG_CR_ITM:                                          \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.