sh: hw-breakpoint support requires perf events.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 21 Dec 2009 08:35:00 +0000 (17:35 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 21 Dec 2009 08:35:00 +0000 (17:35 +0900)
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>
arch/sh/Kconfig

index 185e9af251cf24f37881dbe7dca493acda2bf819..fa76d6264dff6d0720185872f64c0b03e4b0d754 100644 (file)
@@ -43,6 +43,7 @@ config SUPERH32
        select HAVE_FUNCTION_GRAPH_TRACER
        select HAVE_ARCH_KGDB
        select HAVE_HW_BREAKPOINT if CPU_SH4A
+       select PERF_EVENTS if HAVE_HW_BREAKPOINT
        select ARCH_HIBERNATION_POSSIBLE if MMU
 
 config SUPERH64