ia64/xen-unstable

changeset 10671:59b142b0884e

[IA64] Fix GET_THIS_PADDR

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Thu Jul 06 09:54:48 2006 -0600 (2006-07-06)
parents b58e767fafb3
children ac110157c19d
files xen/include/asm-ia64/linux-xen/asm/mca_asm.h
line diff
     1.1 --- a/xen/include/asm-ia64/linux-xen/asm/mca_asm.h	Thu Jul 06 09:53:23 2006 -0600
     1.2 +++ b/xen/include/asm-ia64/linux-xen/asm/mca_asm.h	Thu Jul 06 09:54:48 2006 -0600
     1.3 @@ -58,7 +58,9 @@
     1.4  #endif
     1.5  
     1.6  #ifdef XEN
     1.7 -//FIXME LATER
     1.8 +#define GET_THIS_PADDR(reg, var)		\
     1.9 +	movl	reg = THIS_CPU(var)		\
    1.10 +	tpa	reg = reg
    1.11  #else
    1.12  #define GET_THIS_PADDR(reg, var)		\
    1.13  	mov	reg = IA64_KR(PER_CPU_DATA);;	\