aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>2005-09-21 14:13:07 -0600
committerdjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>2005-09-21 14:13:07 -0600
commit1be9af6e37e1ca5ed512334655765ab24dd91745 (patch)
treeb1bca276c4070959bcbf994f50875f84eb78c6d9
parentf83ba4d543cbd71903b187acbc3c4696b8958864 (diff)
downloadxen-1be9af6e37e1ca5ed512334655765ab24dd91745.tar.gz
xen-1be9af6e37e1ca5ed512334655765ab24dd91745.tar.bz2
xen-1be9af6e37e1ca5ed512334655765ab24dd91745.zip
Another fix for handling ar.kr's
-rw-r--r--linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h b/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h
index 083672d1fd..3d245fff8c 100644
--- a/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h
+++ b/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h
@@ -94,7 +94,7 @@ extern void xen_set_eflag(unsigned long); /* see xen_ia64_setreg */
})
// 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 @@ extern unsigned long xen_get_rr(unsigned long index);
({ \
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: \