diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-06-03 00:38:04 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-06-29 02:42:29 +0200 |
commit | 5f930860e70a4761f026d3e3a9f7787eac3c4f60 (patch) | |
tree | 86d9acf1f4960d7111fdcfaa6028ce03e0c5d89a /arch/mips/vdso | |
parent | MIPS: Allow storing pgd in C0_CONTEXT for MIPSr6 (diff) | |
download | linux-5f930860e70a4761f026d3e3a9f7787eac3c4f60.tar.xz linux-5f930860e70a4761f026d3e3a9f7787eac3c4f60.zip |
MIPS: Use current_cpu_type() in m4kc_tlbp_war()
Use current_cpu_type() to check for 4Kc processors instead of checking
the PRID directly. This will allow for the 4Kc case to be optimised out
of kernels that can't run on 4KC processors, thanks to __get_cpu_type()
and its unreachable() call.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16205/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/vdso')
0 files changed, 0 insertions, 0 deletions