futex: Fix sparc32/m68k/nds32 build regression
authorArnd Bergmann <arnd@arndb.de>
Fri, 26 Nov 2021 09:58:40 +0000 (10:58 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 26 Nov 2021 20:50:36 +0000 (21:50 +0100)
commit4e0d84634445ed550498d613a49ea8f6cfa5e66c
tree0e28f570b7d118288a22eebfea5dfe4688f0e482
parent3297481d688a5cc2973ea58bd78e66b8639748b1
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: 3f2bedabb62c ("futex: Ensure futex_atomic_cmpxchg_inatomic() is present")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20211126095852.455492-1-arnd@kernel.org
include/asm-generic/futex.h