Hi Max, On Fri, Jan 25, 2019 at 7:47 PM Max Filippov <[email protected]> wrote: > CONFIG_HAVE_FUTEX_CMPXCHG is currently used to determine if > atomic_inatomic is always working or must be probed. For most > architectures it is either selected, or it is known that they always > have futex_atomic_cmpxchg_inatomic working. > > Drop HAVE_FUTEX_CMPXCHG from the Kconfig and let architectures that may > not have it working define macro arch_have_futex_cmpxchg that probes > whether futex_atomic_cmpxchg_inatomic is working, otherwise assume that > it is working. > > Implement arch_have_futex_cmpxchg for MIPS, Xtensa and for the users of > asm-generic/futex.h. > > Cc: Andy Lutomirski <[email protected]> > Cc: Arnd Bergmann <[email protected]> > Cc: Geert Uytterhoeven <[email protected]> > Cc: Paul Burton <[email protected]> > Cc: Ralf Baechle <[email protected]> > Cc: Thomas Gleixner <[email protected]> > Suggested-by: Andy Lutomirski <[email protected]> > Signed-off-by: Max Filippov <[email protected]> > --- > Changes v1->v2: > - fix #ifdef/#ifndef logic in kernel/futex.c
Thanks for the update! > arch/m68k/Kconfig | 1 - For m68k: Acked-by: Geert Uytterhoeven <[email protected]> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

