mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 14:53:11 +01:00
futex: Fix sparc32/m68k/nds32 build regression
The recent futex cleanup series, botched up a rename of some function
names, breaking sparc32, m68k and nds32:
include/asm-generic/futex.h:17:2: error: implicit declaration of function 'futex_atomic_cmpxchg_inatomic_local_generic'; did you mean 'futex_atomic_cmpxchg_inatomic_local'? [-Werror=implicit-function-declaration]
Fix the macros to point to the correct functions.
Fixes: 3f2bedabb6 ("futex: Ensure futex_atomic_cmpxchg_inatomic() is present")
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
This commit is contained in:
1 parent
3297481d68
commit
4e0d846344
1 file changed
+2
-2
@@ -14,9 +14,9 @@
|
||||
*
|
||||
*/
|
||||
#define futex_atomic_cmpxchg_inatomic(uval, uaddr, oldval, newval) \
|
||||
futex_atomic_cmpxchg_inatomic_local_generic(uval, uaddr, oldval, newval)
|
||||
futex_atomic_cmpxchg_inatomic_local(uval, uaddr, oldval, newval)
|
||||
#define arch_futex_atomic_op_inuser(op, oparg, oval, uaddr) \
|
||||
arch_futex_atomic_op_inuser_local_generic(op, oparg, oval, uaddr)
|
||||
futex_atomic_op_inuser_local(op, oparg, oval, uaddr)
|
||||
#endif /* CONFIG_SMP */
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user