summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/time.c
diff options
context:
space:
mode:
authorMatt Redfearn <matt.redfearn@mips.com>2018-01-02 11:31:21 +0000
committerJames Hogan <jhogan@kernel.org>2018-01-23 15:45:34 +0000
commitf609cc3a2000d3a14ac52e5c8db7b6fdb6c16353 (patch)
tree84275a9080b5f080f81c834e0bef1694ead4eb74 /arch/mips/kernel/time.c
parent93738d48939637af05a270306a153200aae43990 (diff)
downloadlinux-next-f609cc3a2000d3a14ac52e5c8db7b6fdb6c16353.tar.gz
MIPS: Watch: Avoid duplication of bits in mips_install_watch_registers.
Currently the bits to be set in the watchhi register in addition to that requested by the user is defined inline for each register. To avoid this, define the bits once and or that in for each register. 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/18157/ Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/mips/kernel/time.c')
0 files changed, 0 insertions, 0 deletions