Browse Source

[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>
Tony Luck 14 years ago
parent
commit
30f7276cb3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/ia64/kernel/vmlinux.lds.S

+ 1 - 0
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)