aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/mips/acpi_init.c
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2016-03-01 22:19:38 +0000
committerRalf Baechle <[email protected]>2016-05-13 14:02:13 +0200
commite233c733786a8ca70cd12cc30aeb80e5b390ad71 (patch)
treef11ec3694e1965f884125581ccfe7d19c5a2301d /drivers/platform/mips/acpi_init.c
parentb0d8a082ce9c82600ebf8949dab937cf53019356 (diff)
MIPS: Add and use CAUSEF_WP definition
do_watch() clears bit 22 of cause without using a CAUSEF_* definition from mipsregs.h. Add a definition for this bit (CAUSEF_WP) and make use of it. Also use clear_c0_cause() instead of manual read/modify/write. Signed-off-by: James Hogan <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/12728/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/platform/mips/acpi_init.c')
0 files changed, 0 insertions, 0 deletions