]> git.baikalelectronics.ru Git - 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)
commit1aa2271c0b60662f4e34a83ed3113c0b19482f0a
tree8801ead1c56c12efbcb17690b41e248aa00634cc
parentfd0529937f178a39ff990ecc987c74c1e8e02271
MIPS: Fix a R10000_LLSC_WAR logic in atomic.h

Commit 03540281aab0 ("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: 03540281aab0 ("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