[U-Boot] [PATCH 0/4] Rationalise atomic.h implementations

Chris Packham judge.packham at gmail.com
Sat Sep 8 09:39:03 UTC 2018


This series applies on top of https://patchwork.ozlabs.org/patch/958286/

The intention is to rationalise most of the current implementations of
atomic.h. x86 remains as having an arch specific implementation which I
don't intend to touch.

Chris Packham (4):
  Add include/asm-generic/atomic.h
  ARM: use asm-generic/atomic.h
  mips: use asm-generic/atomic.h
  xtensa: use asm-generic/atomic.h

 arch/arm/include/asm/atomic.h    | 147 +-----------------------------
 arch/mips/include/asm/atomic.h   |  44 +--------
 arch/xtensa/include/asm/atomic.h |  44 +--------
 include/asm-generic/atomic.h     | 150 +++++++++++++++++++++++++++++++
 4 files changed, 153 insertions(+), 232 deletions(-)
 create mode 100644 include/asm-generic/atomic.h

-- 
2.18.0



More information about the U-Boot mailing list