summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2011-05-20 19:38:53 +0200
committerTony Luck <tony.luck@intel.com>2011-05-20 19:38:53 +0200
commit30f7276cb35a22743d709a460ae3639aad50366a (patch)
treeb9f15e4ca2bbfca83acdac87c168dad47aa8213f /arch/ia64/kernel
parentPull misc-2.6.40 into release branch (diff)
downloadlinux-30f7276cb35a22743d709a460ae3639aad50366a.tar.xz
linux-30f7276cb35a22743d709a460ae3639aad50366a.zip
[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>
Diffstat (limited to 'arch/ia64/kernel')
-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)