aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-09-03 05:44:33 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-09-08 05:05:01 -0400
commit19852e59002fbba1c2c6ba0f154095a37ad2ac03 (patch)
treec52d83188778cb3f7fbbf68b3a5e37ac5f360306 /arch/arm/Kconfig
parent864232fa1a2f8dfe003438ef0851a56722740f3e (diff)
ARM: 6358/1: hw-breakpoint: add HAVE_HW_BREAKPOINT to Kconfig
If we're targetting a v6 or v7 core and have at least software perf events available, then automatically add support for hardware breakpoints. Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: S. Karthikeyan <informkarthik@gmail.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 16bc8eb4901c..0fdd099d4a67 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -26,6 +26,7 @@ config ARM
26 select HAVE_PERF_EVENTS 26 select HAVE_PERF_EVENTS
27 select PERF_USE_VMALLOC 27 select PERF_USE_VMALLOC
28 select HAVE_REGS_AND_STACK_ACCESS_API 28 select HAVE_REGS_AND_STACK_ACCESS_API
29 select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V7))
29 help 30 help
30 The ARM series is a line of low-power-consumption RISC chip designs 31 The ARM series is a line of low-power-consumption RISC chip designs
31 licensed by ARM Ltd and targeted at embedded applications and 32 licensed by ARM Ltd and targeted at embedded applications and