commit | 59361e9975fd567a642f4ee32fd0ea662ffa7040 | [log] [tgz] |
---|---|---|
author | Paul Burton <paul.burton@mips.com> | Tue Oct 01 21:53:27 2019 +0000 |
committer | Paul Burton <paul.burton@mips.com> | Mon Oct 07 09:42:41 2019 -0700 |
tree | 5e9503bbcb8d004cf772ded3c41386a0b391ae95 | |
parent | 3d2920cf4fd41a27730083ef395a0c49d4750474 [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