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

[Xen-changelog] [xen-unstable] x86: Define __per_cpu_shift label to help kdump/crashdump.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1223467866 -3600
# Node ID 5e4e234d58be41401909f160cb9ed2ee0379c6a9
# Parent  26985a665ded8d225fa993591255374760d0c969
x86: Define __per_cpu_shift label to help kdump/crashdump.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/x86_32/xen.lds.S |    1 +
 xen/arch/x86/x86_64/xen.lds.S |    1 +
 2 files changed, 2 insertions(+)

diff -r 26985a665ded -r 5e4e234d58be xen/arch/x86/x86_32/xen.lds.S
--- a/xen/arch/x86/x86_32/xen.lds.S     Wed Oct 08 11:59:01 2008 +0100
+++ b/xen/arch/x86/x86_32/xen.lds.S     Wed Oct 08 13:11:06 2008 +0100
@@ -69,6 +69,7 @@ SECTIONS
   . = ALIGN(PAGE_SIZE);
   __init_end = .;
 
+  __per_cpu_shift = PERCPU_SHIFT; /* kdump assist */
   __per_cpu_start = .;
   .data.percpu : { *(.data.percpu) } :text
   __per_cpu_data_end = .;
diff -r 26985a665ded -r 5e4e234d58be xen/arch/x86/x86_64/xen.lds.S
--- a/xen/arch/x86/x86_64/xen.lds.S     Wed Oct 08 11:59:01 2008 +0100
+++ b/xen/arch/x86/x86_64/xen.lds.S     Wed Oct 08 13:11:06 2008 +0100
@@ -67,6 +67,7 @@ SECTIONS
   . = ALIGN(PAGE_SIZE);
   __init_end = .;
 
+  __per_cpu_shift = PERCPU_SHIFT; /* kdump assist */
   __per_cpu_start = .;
   .data.percpu : { *(.data.percpu) } :text
   __per_cpu_data_end = .;

_______________________________________________
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®.