Skip to content
Commit 50af501c authored by James Hogan's avatar James Hogan Committed by Ralf Baechle
Browse files

MIPS: Add and use watch register field definitions



The files watch.c and ptrace.c contain various magic masks for
WatchLo/WatchHi register fields. Add some definitions to mipsregs.h for
these registers and make use of them in both watch.c and ptrace.c,
hopefully making them more readable.

Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
Reviewed-by: default avatarDavid Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12729/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent e233c733
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment