Skip to content

Getting rid of CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE

Vineet Gupta linux-alpha linux-arch linux-arm-kernel linux-ia64 linux-mips linux-parisc linux-s390 linux-snps-arc linuxppc-dev lkml sparclinux 2 versions Applied

Status from this message: [merged] atomic64-no-need-for-config_arch_has_atomic64_dec_if_positive.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesApplied 2/2
  2. v22 patches 1 replySuperseded

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2ia64: implement atomic64_dec_if_positivearch/ia64/include/asm/atomic.h+16 -00 repliesApplied
2/2atomic64: No need for CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVEarch/alpha/Kconfig arch/arm/Kconfig arch/arm64/Kconfig +9 more+0 -170 repliesApplied

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] Getting rid of CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE

Hi Peter / Tony.

Sorry for the rebase snafu with v2.

So kbuild service reported build failure of ia64 with v1 of the patch. I've added an untested atomic64_dec_if_positive() to ia64, shamelessly copied from s390 with some adjustments 64-bit long etc. Could you please double check.

It builds fine with ia64 cross compiler.

Thx,
-Vineet

*** BLURB HERE ***

Vineet Gupta (2):
ia64: implement atomic64_dec_if_positive
atomic64: No need for CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE

 arch/alpha/Kconfig             |  1 -
 arch/arm/Kconfig               |  1 -
 arch/arm64/Kconfig             |  1 -
 arch/ia64/include/asm/atomic.h | 16 ++++++++++++++++
 arch/mips/Kconfig              |  1 -
 arch/parisc/Kconfig            |  1 -
 arch/powerpc/Kconfig           |  1 -
 arch/s390/Kconfig              |  1 -
 arch/sparc/Kconfig             |  1 -
 arch/tile/Kconfig              |  1 -
 arch/x86/Kconfig               |  1 -
 lib/Kconfig                    |  3 ---
 lib/atomic64_test.c            |  4 ----
 13 files changed, 16 insertions(+), 17 deletions(-)
Signature · 1 line
2.7.4