• Paul Burton's avatar
    MIPS: bitops: Use MIPS_ISA_REV, not #ifdefs · 59361e99
    Paul Burton authored
    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: default avatarPaul 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
    59361e99
bitops.h 15.2 KB