diff options
author | Steven J. Hill <Steven.Hill@imgtec.com> | 2015-02-19 16:18:52 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-02-20 11:55:18 (GMT) |
commit | a5770df09541f88021390375f324b25124675355 (patch) | |
tree | 96650246db3738bde279746626a859731df9e9a5 /arch/mips/kernel/cpu-probe.c | |
parent | 05f9883a2899d50ff96f05b7a76b7597009b0680 (diff) | |
download | linux-a5770df09541f88021390375f324b25124675355.tar.xz |
MIPS: Add set/clear CP0 macros for PageGrain register
Build set and clear macros for the PageGrain register.
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9289/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index 81f0aed..48dfb9d 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -550,7 +550,7 @@ static void decode_configs(struct cpuinfo_mips *c) if (cpu_has_rixi) { /* Enable the RIXI exceptions */ - write_c0_pagegrain(read_c0_pagegrain() | PG_IEC); + set_c0_pagegrain(PG_IEC); back_to_back_c0_hazard(); /* Verify the IEC bit is set */ if (read_c0_pagegrain() & PG_IEC) |