x86: Define __per_cpu_shift label to help kdump/crashdump.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 8 Oct 2008 12:11:06 +0000 (13:11 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 8 Oct 2008 12:11:06 +0000 (13:11 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/x86_32/xen.lds.S
xen/arch/x86/x86_64/xen.lds.S

index 7641867f68db99f742722160be05f13ac2e2cb54..2c3d21fcede130cc659e7c83143bcfea2b25db18 100644 (file)
@@ -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 = .;
index 8dd5a41cb798ed25f51c504eb1b9e4ff24c73ab0..55559f4678c35d11e58a566fd432df6eb498126f 100644 (file)
@@ -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 = .;