Commit 8b8d8e28 authored by David S. Miller's avatar David S. Miller

sparc64: Support kmemleak.

Only missing thing was an _sdata marker in vmlinux.lds.S
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9960e9e8
......@@ -52,6 +52,10 @@ SECTIONS
_etext = .;
RO_DATA(PAGE_SIZE)
/* Start of data section */
_sdata = .;
.data1 : {
*(.data1)
}
......
......@@ -356,7 +356,7 @@ config SLUB_STATS
config DEBUG_KMEMLEAK
bool "Kernel memory leak detector"
depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \
(X86 || ARM || PPC || S390 || SUPERH)
(X86 || ARM || PPC || S390 || SPARC64 || SUPERH)
select DEBUG_FS if SYSFS
select STACKTRACE if STACKTRACE_SUPPORT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment