]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
MIPS: Add HARDWARE_WATCHPOINTS configure option.
authorDavid Daney <ddaney@avtrex.com>
Tue, 23 Sep 2008 07:04:26 +0000 (00:04 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 11 Oct 2008 15:18:55 +0000 (16:18 +0100)
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>
arch/mips/Kconfig

index 16097a8f5c526264e05ccafaa1fa613842f17890..cd5fbf6f07848c3c9778aae1e8be265a92f426c4 100644 (file)
@@ -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