• Linus Torvalds's avatar
    Merge branch 'locking-arch-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · dbb885fe
    Linus Torvalds authored
    Pull arch atomic cleanups from Ingo Molnar:
     "This is a series kept separate from the main locking tree, which
      cleans up and improves various details in the atomics type handling:
    
       - Remove the unused atomic_or_long() method
    
       - Consolidate and compress atomic ops implementations between
         architectures, to reduce linecount and to make it easier to add new
         ops.
    
       - Rewrite generic atomic support to only require cmpxchg() from an
         architecture - generate all other methods from that"
    
    * 'locking-arch-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (23 commits)
      locking,arch: Use ACCESS_ONCE() instead of cast to volatile in atomic_read()
      locking, mips: Fix atomics
      locking, sparc64: Fix atomics
      locking,arch: Rewrite generic atomic support
      locking,arch,xtensa: Fold atomic_ops
      locking,arch,sparc: Fold atomic_ops
      locking,arch,sh: Fold atomic_ops
      locking,arch,powerpc: Fold atomic_ops
      locking,arch,parisc: Fold atomic_ops
      locking,arch,mn10300: Fold atomic_ops
      locking,arch,mips: Fold atomic_ops
      locking,arch,metag: Fold atomic_ops
      locking,arch,m68k: Fold atomic_ops
      locking,arch,m32r: Fold atomic_ops
      locking,arch,ia64: Fold atomic_ops
      locking,arch,hexagon: Fold atomic_ops
      locking,arch,cris: Fold atomic_ops
      locking,arch,avr32: Fold atomic_ops
      locking,arch,arm64: Fold atomic_ops
      locking,arch,arm: Fold atomic_ops
      ...
    dbb885fe
smp_64.c 35.6 KB