summaryrefslogtreecommitdiff
path: root/arch/mips/lib
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-10-01 21:53:27 +0000
committerPaul Burton <paul.burton@mips.com>2019-10-07 09:42:41 -0700
commit59361e9975fd567a642f4ee32fd0ea662ffa7040 (patch)
tree5e9503bbcb8d004cf772ded3c41386a0b391ae95 /arch/mips/lib
parent3d2920cf4fd41a27730083ef395a0c49d4750474 (diff)
MIPS: bitops: Use MIPS_ISA_REV, not #ifdefs
Rather than #ifdef on CONFIG_CPU_* to determine whether the ins instruction is supported we can simply check MIPS_ISA_REV to discover whether we're targeting MIPSr2 or higher. Do so in order to clean up the code. Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org Cc: Huacai Chen <chenhc@lemote.com> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/lib')
0 files changed, 0 insertions, 0 deletions