MIPS: bitops: ins start position is always an immediate
authorPaul Burton <paul.burton@mips.com>
Tue, 1 Oct 2019 21:53:29 +0000 (21:53 +0000)
committerPaul Burton <paul.burton@mips.com>
Mon, 7 Oct 2019 16:42:42 +0000 (09:42 -0700)
commit27aab27259aec1f200cf1f84f02b8192d27abe64
treef81012697b69d1faf6007bfdf4ccb562f00fdd95
parent59361e9975fd567a642f4ee32fd0ea662ffa7040
MIPS: bitops: ins start position is always an immediate

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: 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
arch/mips/include/asm/bitops.h