Commit 15de4e9f authored by Rui Wang's avatar Rui Wang Committed by sanglipeng
Browse files

MIPS: locking/atomic: Fix atomic{_64,}_sub_if_positive

stable inclusion
from stable-v5.10.184
commit 1659268d1ab4c11923b8fde86eca91f4ce256c96
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1659268d1ab4c11923b8fde86eca91f4ce256c96



--------------------------------

commit cb95ea79 upstream.

This looks like a typo and that caused atomic64 test failed.

Signed-off-by: default avatarRui Wang <wangrui@loongson.cn>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent c2aac755
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment