ia64/xen-unstable

changeset 6876:f064ce67e524

Another fix for handling ar.kr's
author djm@kirby.fc.hp.com
date Wed Sep 21 14:13:07 2005 -0600 (2005-09-21)
parents c83307a81602
children d2f2c1c26995
files linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h	Wed Sep 21 13:41:25 2005 -0600
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h	Wed Sep 21 14:13:07 2005 -0600
     1.3 @@ -94,7 +94,7 @@ extern void xen_set_eflag(unsigned long)
     1.4  })
     1.5  
     1.6  // for now, just use privop.  may use hyperprivop later
     1.7 -#define xen_set_kr(regnum,val) (__ia64_setreg(regnum,val))
     1.8 +/*#define xen_set_kr(regnum,val) (__ia64_setreg(regnum,val)) */
     1.9  
    1.10  /* turning off interrupts can be paravirtualized simply by writing
    1.11   * to a memory-mapped virtual psr.i bit (implemented as a 16-bit bool) */
    1.12 @@ -193,8 +193,9 @@ extern unsigned long xen_get_rr(unsigned
    1.13  ({									\
    1.14  	switch(regnum) {						\
    1.15  	case _IA64_REG_AR_KR0 ... _IA64_REG_AR_KR7:			\
    1.16 -		(running_on_xen) ?					\
    1.17 -			xen_set_kr((regnum-_IA64_REG_AR_KR0), val) :	\
    1.18 +/* for now, just use privop.  may use hyperprivop later */		\
    1.19 +/*		(running_on_xen) ?					\
    1.20 +			xen_set_kr((regnum-_IA64_REG_AR_KR0), val) : */	\
    1.21  			__ia64_setreg(regnum,val);			\
    1.22  		break;							\
    1.23  	case _IA64_REG_CR_ITM:						\