]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
MIPS: Fix a R10000_LLSC_WAR logic in atomic.h
authorHuacai Chen <chenhc@lemote.com>
Tue, 25 Dec 2018 00:51:01 +0000 (08:51 +0800)
committerPaul Burton <paul.burton@mips.com>
Mon, 31 Dec 2018 15:16:59 +0000 (07:16 -0800)
commitdb1ce3f5d01d2d6d5714aefba0159d2cb5167a0b
tree8801ead1c56c12efbcb17690b41e248aa00634cc
parent682fee802843b332f9c51ffc8e062de5ff773f2e
MIPS: Fix a R10000_LLSC_WAR logic in atomic.h

Commit 4936084c2ee2 ("MIPS: Cleanup R10000_LLSC_WAR logic in atomic.h")
introduce a mistake in atomic64_fetch_##op##_relaxed(), because it
forget to delete R10000_LLSC_WAR in the if-condition. So fix it.

Fixes: 4936084c2ee2 ("MIPS: Cleanup R10000_LLSC_WAR logic in atomic.h")
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Joshua Kinard <kumba@gentoo.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Steven J . Hill <Steven.Hill@cavium.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: stable@vger.kernel.org # 4.19+
arch/mips/include/asm/atomic.h