From: Keir Fraser Date: Wed, 8 Oct 2008 12:11:06 +0000 (+0100) Subject: x86: Define __per_cpu_shift label to help kdump/crashdump. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14091^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=db2fae01e78586cf703e77c753682101d48fbf84;p=xen.git x86: Define __per_cpu_shift label to help kdump/crashdump. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/x86_32/xen.lds.S b/xen/arch/x86/x86_32/xen.lds.S index 7641867f68..2c3d21fced 100644 --- a/xen/arch/x86/x86_32/xen.lds.S +++ b/xen/arch/x86/x86_32/xen.lds.S @@ -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 --git a/xen/arch/x86/x86_64/xen.lds.S b/xen/arch/x86/x86_64/xen.lds.S index 8dd5a41cb7..55559f4678 100644 --- a/xen/arch/x86/x86_64/xen.lds.S +++ b/xen/arch/x86/x86_64/xen.lds.S @@ -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 = .;