Skip to content

x86: Merge atomic headers

Brian Gerst lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: Split atomic64_t functions into seperate headersarch/x86/include/asm/atomic64_32.h arch/x86/include/asm/atomic64_64.h arch/x86/include/asm/atomic_32.h +1 more+386 -3671 reply
2/3x86: Sync atomic_xx.harch/x86/include/asm/atomic_32.h arch/x86/include/asm/atomic_64.h+89 -341 reply
3/3x86: Merge atomic.harch/x86/include/asm/atomic.h arch/x86/include/asm/atomic_32.h arch/x86/include/asm/atomic_64.h+297 -5921 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] x86: Merge atomic headers

This patchset merges the implementations of the atomic_t functions which are common between 32-bit and 64-bit mode. It splits out the atomic64_t functions into new headers since those are still different.

[PATCH 1/3] x86: Split atomic64_t functions into seperate headers [PATCH 2/3] x86: Sync atomic_xx.h
[PATCH 3/3] x86: Merge atomic.h

 arch/x86/include/asm/atomic.h      |  299 ++++++++++++++++++++++-
 arch/x86/include/asm/atomic64_32.h |  160 ++++++++++++
 arch/x86/include/asm/atomic64_64.h |  224 +++++++++++++++++
 arch/x86/include/asm/atomic_32.h   |  415 ------------------------------
 arch/x86/include/asm/atomic_64.h   |  485 ------------------------------------
 5 files changed, 681 insertions(+), 902 deletions(-)