summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChris Smith <chris.smith@st.com>2010-01-27 13:03:11 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2010-01-27 13:03:11 (GMT)
commit660e2acad81c19b404f7d7d06e57a6d5e6ce7426 (patch)
tree377b2e0f9d4219b301c1f3c16311a7710e2d4abc /arch
parent08b36c4a02b5a9db609fc6d93b9c41d7fa75713c (diff)
downloadlinux-660e2acad81c19b404f7d7d06e57a6d5e6ce7426.tar.xz
sh: kmemleak support.
Enables support for kmemleak on sh. Signed-off-by: Chris Smith <chris.smith@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/kernel/vmlinux.lds.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
index 93e9b25..f0bc6b8 100644
--- a/arch/sh/kernel/vmlinux.lds.S
+++ b/arch/sh/kernel/vmlinux.lds.S
@@ -50,12 +50,12 @@ SECTIONS
} = 0x0009
EXCEPTION_TABLE(16)
-
NOTES
+
+ _sdata = .;
RO_DATA(PAGE_SIZE)
RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
-
- _edata = .; /* End of data section */
+ _edata = .;
DWARF_EH_FRAME