aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-13 03:52:50 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-10-13 03:52:50 -0400
commite4b053d96ae4e23e7023eb9f591bd7fc5c9c8cb9 (patch)
tree16e25333605c6919ce85ae9a43e970dc0dd516f4 /arch/sh/Kconfig
parentc8afde7f40577b80d30aa8abcdee74c76a4b800a (diff)
sh: ftrace: Make code modification NMI safe.
This cribs the x86 implementation of ftrace_nmi_enter() and friends to make ftrace_modify_code() NMI safe, particularly on SMP configurations. For additional notes on the problems involved, see the comment below ftrace_call_replace(). Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index b940424f8ccc..5260fb55ab7f 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -38,6 +38,7 @@ config SUPERH32
38 select HAVE_DYNAMIC_FTRACE 38 select HAVE_DYNAMIC_FTRACE
39 select HAVE_FUNCTION_TRACE_MCOUNT_TEST 39 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
40 select HAVE_FTRACE_SYSCALLS 40 select HAVE_FTRACE_SYSCALLS
41 select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE
41 select HAVE_FUNCTION_GRAPH_TRACER 42 select HAVE_FUNCTION_GRAPH_TRACER
42 select HAVE_ARCH_KGDB 43 select HAVE_ARCH_KGDB
43 select ARCH_HIBERNATION_POSSIBLE if MMU 44 select ARCH_HIBERNATION_POSSIBLE if MMU