summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2011-05-20 21:38:53 +0400
committerTony Luck <tony.luck@intel.com>2011-05-20 21:38:53 +0400
commit30f7276cb35a22743d709a460ae3639aad50366a (patch)
treeb9f15e4ca2bbfca83acdac87c168dad47aa8213f
parent5e4de22bec1d78c009409200162da6a54631e9e4 (diff)
downloadlinux-30f7276cb35a22743d709a460ae3639aad50366a.tar.xz
[IA64] define "_sdata" symbol
core_kernel_data() wants to know if an address looks like kernel data. IA64 has had _edata forever, but never needed _sdata until now. Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--arch/ia64/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S
index 787de4a77d82..53c0ba004e9e 100644
--- a/arch/ia64/kernel/vmlinux.lds.S
+++ b/arch/ia64/kernel/vmlinux.lds.S
@@ -209,6 +209,7 @@ SECTIONS {
data : {
} :data
.data : AT(ADDR(.data) - LOAD_OFFSET) {
+ _sdata = .;
INIT_TASK_DATA(PAGE_SIZE)
CACHELINE_ALIGNED_DATA(SMP_CACHE_BYTES)
READ_MOSTLY_DATA(SMP_CACHE_BYTES)