[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v3 0/8] <asm/atomic.h> adjustments



Corneliu ZUZU (8):
  1/8: asm-arm/atomic.h: fix arm32|arm64 macros duplication
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
    Changed:
        * also moved mistakenly omitted atomic_xchg()
        * arm empty line fixes moved here

  2/8: asm-x86/atomic.h: minor: proper atomic_inc_and_test() placement
    Changed:
        * arm empty line fixes moved from here (to 1/8)

  3/8: asm-arm/atomic.h: reorder macros to match x86-side
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
    Changed: <nothing>

  4/8: asm/atomic.h: common prototyping (add xen/atomic.h)
    Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Changed:
        * sample code for atomic_cmpxchg() (doc-comment in <xen/atomic.h>)
          updated to use atomic_read() instead of directly accessing v.counter

  5/8: fix: make atomic_read() param const
    Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Changed: <nothing>

  New in this version:
      6/8: asm-arm/atomic.h: atomic_{inc,dec}_return: macros to inline functions
      7/8: arm/atomic.h: remove '__' prefix for __atomic_add_unless()
      8/8: asm-x86/atomic.h: implement missing, add common prototypes

 xen/include/asm-arm/arm32/atomic.h |  17 +--
 xen/include/asm-arm/arm64/atomic.h |  17 +--
 xen/include/asm-arm/atomic.h       |  55 ++++++++--
 xen/include/asm-x86/atomic.h       | 151 +++++++--------------------
 xen/include/xen/atomic.h           | 207 +++++++++++++++++++++++++++++++++++++
 5 files changed, 296 insertions(+), 151 deletions(-)
 create mode 100644 xen/include/xen/atomic.h

-- 
2.5.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.