]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Unify sc beqz definition
authorPaul Burton <paul.burton@mips.com>
Tue, 1 Oct 2019 21:53:05 +0000 (21:53 +0000)
committerPaul Burton <paul.burton@mips.com>
Mon, 7 Oct 2019 16:42:13 +0000 (09:42 -0700)
commit1415c32985f175838bdbecaf3bfa625516962672
tree0f9a4e991bb680f9923272d31482d3e636950ef5
parentc8b9ca04ffc34315276cab8148550166c7a11938
MIPS: Unify sc beqz definition

We currently duplicate the definition of __scbeqz in asm/atomic.h &
asm/cmpxchg.h. Move it to asm/llsc.h & rename it to __SC_BEQZ to fit
better with the existing __SC macro provided there.

We include a tab in the string in order to avoid the need for users to
indent code any further to include whitespace of their own after the
instruction mnemonic.

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/atomic.h
arch/mips/include/asm/cmpxchg.h
arch/mips/include/asm/llsc.h