sh: Decouple mcount from ftrace.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 11 Jul 2009 10:56:58 +0000 (19:56 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 11 Jul 2009 10:56:58 +0000 (19:56 +0900)
commit473d1cf4ee623b043790838bcf77e77958840bf2
treee1e582134ac96dbb21bd26c6c3ba5bba341e5e50
parentf686d8c11c61143b9705ed38d8cd26b0643902a4
sh: Decouple mcount from ftrace.

This adds a general CONFIG_MCOUNT in order to permit mcount generation
without ftrace support. This is primarily for allowing platforms to
enable aggressive stack overflow checking without having to enable ftrace
support. Based on the sparc64 implementation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig.debug
arch/sh/Makefile
arch/sh/boot/compressed/Makefile
arch/sh/kernel/sh_ksyms_32.c
arch/sh/lib/Makefile