On Mon, Oct 14, 2019 at 12:13 AM Sebastian Andrzej Siewior <sebastian@xxxxxxxxxxxxx> wrote: > > The header file is very generic and could be reused by other > architectures as long as they provide __cmpxchg_u32(). > > Move sh's cmpxchg-xchg.h to asm-generic. > > Cc: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx> > Cc: Rich Felker <dalias@xxxxxxxx> > Cc: Arnd Bergmann <arnd@xxxxxxxx> Acked-by: Arnd Bergmann <arnd@xxxxxxxx> Maybe change the "#ifndef __ASM_SH_CMPXCHG_XCHG_H" to __ASM_GENERIC_*. Arnd