From: David Daney Date: Tue, 23 Sep 2008 07:04:26 +0000 (-0700) Subject: MIPS: Add HARDWARE_WATCHPOINTS configure option. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=8192c9ea9ac44213d1266ecb64615519443979b3;p=deliverable%2Flinux.git MIPS: Add HARDWARE_WATCHPOINTS configure option. This is automatically set for all MIPS32 and MIPS64 processors. Signed-off-by: David Daney Signed-off-by: Ralf Baechle --- 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