Matt Redfearn 705e71ad70
MIPS: Watch: Avoid duplication of bits in mips_read_watch_registers
Currently the bits to be masked when watchhi is read is defined inline
for each register. To avoid this, define the bits once and mask each
register with that value.

Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
Acked-by: David Daney <david.daney@cavium.com>
Reviewed-by: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18158/
Signed-off-by: James Hogan <jhogan@kernel.org>
2018-01-23 15:46:01 +00:00
..
2017-11-15 11:36:08 -08:00
2017-11-15 11:36:08 -08:00
2017-11-15 11:36:08 -08:00
2017-11-15 11:36:08 -08:00
2016-08-03 08:16:30 +02:00
2017-01-25 02:51:11 +01:00
2017-11-15 11:36:08 -08:00
2017-11-15 11:36:08 -08:00
2017-11-15 11:36:08 -08:00
2017-11-03 09:02:30 -07:00
2017-04-10 11:56:07 +02:00