Skip to content

Commit

Permalink
sh: kmemleak support.
Browse files Browse the repository at this point in the history
Enables support for kmemleak on sh.

Signed-off-by: Chris Smith <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
Chris Smith authored and pmundt committed Jan 27, 2010
1 parent 08b36c4 commit 660e2ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions arch/sh/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ config SLUB_STATS
config DEBUG_KMEMLEAK
bool "Kernel memory leak detector"
depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \
(X86 || ARM || PPC || S390)
(X86 || ARM || PPC || S390 || SUPERH)

select DEBUG_FS if SYSFS
select STACKTRACE if STACKTRACE_SUPPORT
Expand Down

0 comments on commit 660e2ac

Please sign in to comment.