]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94c7a4ce59308e79b11a969c552b2f2506448b31
treef81012697b69d1faf6007bfdf4ccb562f00fdd95
parent6d6ab4b3356fb6817fc1b8644cb40d41e1cdcf4a
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