[IA64] define "_sdata" symbol
authorTony Luck <tony.luck@intel.com>
Fri, 20 May 2011 17:38:53 +0000 (10:38 -0700)
committerTony Luck <tony.luck@intel.com>
Fri, 20 May 2011 17:38:53 +0000 (10:38 -0700)
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>
arch/ia64/kernel/vmlinux.lds.S

index 787de4a77d82a9ba80891ac215b2c099ac644524..53c0ba004e9eeeff2cf4f57bdceced9d69308aad 100644 (file)
@@ -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)