aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-12-21 03:35:00 -0500
committerPaul Mundt <lethal@linux-sh.org>2009-12-21 03:35:00 -0500
commit6c0ee6a4bba0e21eb0fb4de5bdac03c11b74242d (patch)
tree0fe269fd293db54e41b4cfe188805dbeaf485062 /arch/sh/Kconfig
parenta28b460ec7968f430a2d6ea2809b249ee9fe1d28 (diff)
sh: hw-breakpoint support requires perf events.
This follows the x86 change to select perf events when hw_breakpoint support is enabled. This fixes up build issues where perf events can otherwise be disabled on their own. 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 185e9af251cf..fa76d6264dff 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -43,6 +43,7 @@ config SUPERH32
43 select HAVE_FUNCTION_GRAPH_TRACER 43 select HAVE_FUNCTION_GRAPH_TRACER
44 select HAVE_ARCH_KGDB 44 select HAVE_ARCH_KGDB
45 select HAVE_HW_BREAKPOINT if CPU_SH4A 45 select HAVE_HW_BREAKPOINT if CPU_SH4A
46 select PERF_EVENTS if HAVE_HW_BREAKPOINT
46 select ARCH_HIBERNATION_POSSIBLE if MMU 47 select ARCH_HIBERNATION_POSSIBLE if MMU
47 48
48config SUPERH64 49config SUPERH64