ia64/xen-unstable

changeset 10673:80e04aa530b8

[IA64] Fix LOAD_PHYSCAL macro

This fix is workaround. Now LOAD_PHYSCAL is used only
by MCA/INIT handler.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Thu Jul 06 10:04:57 2006 -0600 (2006-07-06)
parents ac110157c19d
children be1b7896c203
files xen/include/asm-ia64/linux-xen/asm/asmmacro.h
line diff
     1.1 --- a/xen/include/asm-ia64/linux-xen/asm/asmmacro.h	Thu Jul 06 10:02:28 2006 -0600
     1.2 +++ b/xen/include/asm-ia64/linux-xen/asm/asmmacro.h	Thu Jul 06 10:04:57 2006 -0600
     1.3 @@ -59,9 +59,17 @@ name:
     1.4  	.section ".data.patch.vtop", "a"	// declare section & section attributes
     1.5  	.previous
     1.6  
     1.7 +#ifdef XEN
     1.8 +#define	LOAD_PHYSICAL(pr, reg, obj)		\
     1.9 +[1:](pr)movl reg = obj;;			\
    1.10 +	shl reg = reg,4;;			\
    1.11 +	shr.u reg = reg,4;;			\
    1.12 +	.xdata4 ".data.patch.vtop", 1b-.
    1.13 +#else
    1.14  #define	LOAD_PHYSICAL(pr, reg, obj)		\
    1.15  [1:](pr)movl reg = obj;				\
    1.16  	.xdata4 ".data.patch.vtop", 1b-.
    1.17 +#endif
    1.18  
    1.19  /*
    1.20   * For now, we always put in the McKinley E9 workaround.  On CPUs that don't need it,