Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 679eb637 authored by James Hogan's avatar James Hogan Committed by Ralf Baechle
Browse files

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: default avatarJames Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12727/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent a7e89326
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"