Jelajahi Sumber

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>
David Daney 17 tahun lalu
induk
melakukan
8192c9ea9a
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  1. 7 0
      arch/mips/Kconfig

+ 7 - 0
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