From: James Hogan Date: Tue, 1 Mar 2016 22:19:37 +0000 (+0000) Subject: MIPS: Enable ptrace hw watchpoints on MIPS R6 X-Git-Tag: v4.7-rc1~122^2~261 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=679eb63779dffbd1fc40d4c218a4ff7c04508a48;p=karo-tx-linux.git MIPS: Enable ptrace hw watchpoints on MIPS R6 HARDWARE_WATCHPOINTS isn't being enabled for CPU_MIPSR6, even though it has an identical hardware watchpoint interface to CPU_MIPSR2, which prevents ptrace watchpoints from being loaded when executing a ptraced process even though the watchpoints are described in /proc/cpuinfo. Enable HARDWARE_WATCHPOINTS for CPU_MIPSR6 too. Signed-off-by: James Hogan Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/12727/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 2018c2b0e078..04c5e9c28fba 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1999,7 +1999,7 @@ config MIPS_PGD_C0_CONTEXT # config HARDWARE_WATCHPOINTS bool - default y if CPU_MIPSR1 || CPU_MIPSR2 + default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6 menu "Kernel type"