summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorDavid Daney2008-09-23 09:04:26 +0200
committerRalf Baechle2008-10-11 17:18:55 +0200
commit8192c9ea9ac44213d1266ecb64615519443979b3 (patch)
tree79ea18e086d58ba39e25e24078dc0e7ea008c5ab /arch/mips/Kconfig
parentMIPS: Replace use of <asm-generic/uaccess.h> with native implementations. (diff)
downloadkernel-qcow2-linux-8192c9ea9ac44213d1266ecb64615519443979b3.tar.gz
kernel-qcow2-linux-8192c9ea9ac44213d1266ecb64615519443979b3.tar.xz
kernel-qcow2-linux-8192c9ea9ac44213d1266ecb64615519443979b3.zip
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>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 16097a8f5c52..cd5fbf6f0784 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