• Paul E. McKenney's avatar
    xtensa: Emulate one-byte cmpxchg · e799bef0
    Paul E. McKenney authored
    Use the new cmpxchg_emu_u8() to emulate one-byte cmpxchg() on xtensa.
    
    [ paulmck: Apply kernel test robot feedback. ]
    [ paulmck: Drop two-byte support per Arnd Bergmann feedback. ]
    [ Apply Geert Uytterhoeven feedback. ]
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    Tested-by: default avatarYujie Liu <yujie.liu@intel.com>
    Cc: Andi Shyti <andi.shyti@linux.intel.com>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
    e799bef0
cmpxchg.h 5.64 KB