[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] Fix LOAD_PHYSCAL macro
# HG changeset patch # User awilliam@xxxxxxxxxxx # Node ID 80e04aa530b83cfad866122f13d27261f28f24bc # Parent ac110157c19d2625fbd5f78f854db3ebc42f04be [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@xxxxxxxxxxxxxx> --- xen/include/asm-ia64/linux-xen/asm/asmmacro.h | 8 ++++++++ 1 files changed, 8 insertions(+) diff -r ac110157c19d -r 80e04aa530b8 xen/include/asm-ia64/linux-xen/asm/asmmacro.h --- a/xen/include/asm-ia64/linux-xen/asm/asmmacro.h Thu Jul 06 10:02:28 2006 -0600 +++ b/xen/include/asm-ia64/linux-xen/asm/asmmacro.h Thu Jul 06 10:04:57 2006 -0600 @@ -59,9 +59,17 @@ name: .section ".data.patch.vtop", "a" // declare section & section attributes .previous +#ifdef XEN +#define LOAD_PHYSICAL(pr, reg, obj) \ +[1:](pr)movl reg = obj;; \ + shl reg = reg,4;; \ + shr.u reg = reg,4;; \ + .xdata4 ".data.patch.vtop", 1b-. +#else #define LOAD_PHYSICAL(pr, reg, obj) \ [1:](pr)movl reg = obj; \ .xdata4 ".data.patch.vtop", 1b-. +#endif /* * For now, we always put in the McKinley E9 workaround. On CPUs that don't need it, _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |