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

Skip to content
Unverified Commit 705e71ad authored by Matt Redfearn's avatar Matt Redfearn Committed by James Hogan
Browse files

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: default avatarMatt Redfearn <matt.redfearn@mips.com>
Acked-by: default avatarDavid Daney <david.daney@cavium.com>
Reviewed-by: default avatarJames 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: default avatarJames Hogan <jhogan@kernel.org>
parent f609cc3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment