• Paul Burton's avatar
    MIPS: bitops: ins start position is always an immediate · 27aab272
    Paul Burton authored
    The start position for an ins instruction is always encoded as an
    immediate, so allowing registers to be used by the inline asm makes no
    sense. It should never happen anyway since a bit index should always be
    small enough to be treated as an immediate, but remove the nonsensical
    "r" for sanity.
    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
    27aab272
bitops.h 15.2 KB