diff options
author | Tony Luck <tony.luck@intel.com> | 2011-05-20 13:38:53 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2011-05-20 13:38:53 -0400 |
commit | 30f7276cb35a22743d709a460ae3639aad50366a (patch) | |
tree | b9f15e4ca2bbfca83acdac87c168dad47aa8213f /arch/ia64/kernel | |
parent | 5e4de22bec1d78c009409200162da6a54631e9e4 (diff) |
[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.S | 1 |
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 { | |||
209 | data : { | 209 | data : { |
210 | } :data | 210 | } :data |
211 | .data : AT(ADDR(.data) - LOAD_OFFSET) { | 211 | .data : AT(ADDR(.data) - LOAD_OFFSET) { |
212 | _sdata = .; | ||
212 | INIT_TASK_DATA(PAGE_SIZE) | 213 | INIT_TASK_DATA(PAGE_SIZE) |
213 | CACHELINE_ALIGNED_DATA(SMP_CACHE_BYTES) | 214 | CACHELINE_ALIGNED_DATA(SMP_CACHE_BYTES) |
214 | READ_MOSTLY_DATA(SMP_CACHE_BYTES) | 215 | READ_MOSTLY_DATA(SMP_CACHE_BYTES) |