Skip to content
Snippets Groups Projects
user avatar
David McKay authored
[ Upstream commit d93cca2f3109f88c94a32d3322ec8b2854a9c339 ]

Commit 656e9007 ("asm-generic: avoid __generic_cmpxchg_local
warnings") introduced a typo that means the code is incorrect for 32 bit
values. It will work fine for postive numbers, but will fail for
negative numbers on a system where longs are 64 bit.

Fixes: 656e9007 ("asm-generic: avoid __generic_cmpxchg_local warnings")
Signed-off-by: default avatarDavid McKay <david.mckay@codasip.com>
Signed-off-by: default avatarStuart Menefy <stuart.menefy@codasip.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
de818119
Name Last commit Last update
..