]> www.infradead.org Git - users/dwmw2/linux.git/commit
MIPS: asm: local: add barriers for Loongson
authorWang Xuerui <git@xen0n.name>
Thu, 23 Jan 2020 04:04:09 +0000 (12:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2020 12:36:48 +0000 (04:36 -0800)
commit76ffd06a085d1bc2247f7c813641a16ae6b54c7c
treeb4074f134ed5a139af288c3bed507722ace5edbc
parent9c8878bbc37d0f18425a8f76cf010c786a6f3fb8
MIPS: asm: local: add barriers for Loongson

commit 3e86460ebe2340df6a33b35a55312cc369bdcbd0 upstream.

Somehow these LL/SC usages are not taken care of, breaking Loongson
builds. Add the SYNCs appropriately.

Signed-off-by: Wang Xuerui <git@xen0n.name>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: <stable@vger.kernel.org> # v5.5+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/local.h