[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] Fix GATE_ADDR for ia64_do_show_stack()



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID b58e767fafb3877cfe58cd21db1ed3fdf8f758f3
# Parent  9ec05cd1e8736fe0ce7bf88adf49153f43a3e85d
[IA64] Fix GATE_ADDR for ia64_do_show_stack()

fix GATE_ADDR and define it in include/asm-ia64/xensystem.h.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
---
 xen/include/asm-ia64/linux-xen/asm/system.h |    2 +-
 xen/include/asm-ia64/xensystem.h            |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff -r 9ec05cd1e873 -r b58e767fafb3 xen/include/asm-ia64/linux-xen/asm/system.h
--- a/xen/include/asm-ia64/linux-xen/asm/system.h       Thu Jul 06 09:51:27 
2006 -0600
+++ b/xen/include/asm-ia64/linux-xen/asm/system.h       Thu Jul 06 09:53:23 
2006 -0600
@@ -19,8 +19,8 @@
 #include <asm/pal.h>
 #include <asm/percpu.h>
 
+#ifndef XEN
 #define GATE_ADDR              __IA64_UL_CONST(0xa000000000000000)
-#ifndef XEN
 /*
  * 0xa000000000000000+2*PERCPU_PAGE_SIZE
  * - 0xa000000000000000+3*PERCPU_PAGE_SIZE remain unmapped (guard page)
diff -r 9ec05cd1e873 -r b58e767fafb3 xen/include/asm-ia64/xensystem.h
--- a/xen/include/asm-ia64/xensystem.h  Thu Jul 06 09:51:27 2006 -0600
+++ b/xen/include/asm-ia64/xensystem.h  Thu Jul 06 09:53:23 2006 -0600
@@ -19,6 +19,7 @@
 
 #define HYPERVISOR_VIRT_START   0xe800000000000000
 #define KERNEL_START            0xf000000004000000
+#define GATE_ADDR              KERNEL_START
 #define DEFAULT_SHAREDINFO_ADDR         0xf100000000000000
 #define PERCPU_ADDR             (DEFAULT_SHAREDINFO_ADDR - PERCPU_PAGE_SIZE)
 #define VHPT_ADDR               0xf200000000000000

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.