summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorMaxin John <maxin.john@gmail.com>2011-03-28 21:15:55 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2011-05-19 08:55:41 (GMT)
commitc0a5afb9bcf6b5aa5685e4fcf1282cad5fab3d91 (patch)
treeb8dbf6e0ec776690ff039e0c5999d2ce15963db1 /arch/mips
parent9b130f8004e51c65b20b0f0e17cdee073a719047 (diff)
downloadlinux-c0a5afb9bcf6b5aa5685e4fcf1282cad5fab3d91.tar.xz
MIPS: Enable kmemleak for MIPS
Signed-off-by: Maxin B. John <maxin.john@gmail.com> To: Catalin Marinas <catalin.marinas@arm.com> Cc: Daniel Baluta <dbaluta@ixiacom.com> Cc: naveen yadav <yad.naveen@gmail.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org Patchwork: https://patchwork.linux-mips.org/patch/2244/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index e4b0b0b..cd2ca54 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -68,6 +68,7 @@ SECTIONS
RODATA
/* writeable */
+ _sdata = .; /* Start of data section */
.data : { /* Data */
. = . + DATAOFFSET; /* for CONFIG_MAPPED_KERNEL */