summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2008-09-23 00:04:26 -0700
committerRalf Baechle <ralf@linux-mips.org>2008-10-11 16:18:55 +0100
commit8192c9ea9ac44213d1266ecb64615519443979b3 (patch)
tree79ea18e086d58ba39e25e24078dc0e7ea008c5ab
parent71ec6ccfdc2706e767189d40016fc802305067bb (diff)
downloadop-kernel-dev-8192c9ea9ac44213d1266ecb64615519443979b3.zip
op-kernel-dev-8192c9ea9ac44213d1266ecb64615519443979b3.tar.gz
MIPS: Add HARDWARE_WATCHPOINTS configure option.
This is automatically set for all MIPS32 and MIPS64 processors. Signed-off-by: David Daney <ddaney@avtrex.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 16097a8..cd5fbf6 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1268,6 +1268,13 @@ config CPU_SUPPORTS_32BIT_KERNEL
config CPU_SUPPORTS_64BIT_KERNEL
bool
+#
+# Set to y for ptrace access to watch registers.
+#
+config HARDWARE_WATCHPOINTS
+ bool
+ default y if CPU_MIPS32 || CPU_MIPS64
+
menu "Kernel type"
choice
OpenPOWER on IntegriCloud