[CRIU] [PATCH 0/5] Switch to kernel's atomic ops protos, v2

Cyrill Gorcunov gorcunov at openvz.org
Thu Aug 15 04:14:18 EDT 2013


Diff from v1 -- fix arm part. Alexander, please review.

Cyrill Gorcunov (5):
  x86: asm -- Add cmpxchg helpers
  arm: atomic -- Use signed types for
    atomic_add_return/atomic_sub_return
  x86: atomic -- Switch to linux kernel templates
  arm: atomic -- Add atomic_read/atomic_set helpers
  atomic: Use atomic_read instead of atomic_get

 arch/arm/include/asm/atomic.h  |  28 ++++++----
 arch/x86/include/asm/atomic.h  | 117 ++++++++++++++++++++++-------------------
 arch/x86/include/asm/cmpxchg.h |  45 ++++++++++++++++
 include/lock.h                 |  30 +++++------
 stats.c                        |   6 +--
 5 files changed, 146 insertions(+), 80 deletions(-)
 create mode 100644 arch/x86/include/asm/cmpxchg.h

-- 
1.8.1.4


More information about the CRIU mailing list