• Huacai Chen's avatar
    MIPS: Fix a R10000_LLSC_WAR logic in atomic.h · db1ce3f5
    Huacai Chen authored
    Commit 4936084c ("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: 4936084c ("MIPS: Cleanup R10000_LLSC_WAR logic in atomic.h")
    Signed-off-by: default avatarHuacai Chen <chenhc@lemote.com>
    Signed-off-by: default avatarPaul 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+
    db1ce3f5
atomic.h 11.9 KB