[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <swffwnsdbyq.wl%hirokazu.takata.wj@renesas.com>
Date: Thu, 02 Jun 2011 14:44:13 +0900
From: Hirokazu Takata <takata@...ux-m32r.org>
To: Sven Eckelmann <sven@...fation.org>
Cc: linux-kernel@...r.kernel.org, Tony Luck <tony.luck@...el.com>,
Fenghua Yu <fenghua.yu@...el.com>, linux-ia64@...r.kernel.org,
Hirokazu Takata <takata@...ux-m32r.org>,
linux-m32r@...linux-m32r.org, Arnd Bergmann <arnd@...db.de>,
linux-arch@...r.kernel.org
Subject: Re: [PATCHv3] atomic: add *_dec_not_zero
From: Sven Eckelmann <sven@...fation.org>
Subject: [PATCHv3] atomic: add *_dec_not_zero
Date: Sun, 29 May 2011 09:13:20 +0200
> Introduce an *_dec_not_zero operation. Make this a special case of
> *_add_unless because batman-adv uses atomic_dec_not_zero in different
> places like re-broadcast queue or aggregation queue management. There
> are other non-final patches which may also want to use this macro.
>
> Reported-by: David S. Miller <davem@...emloft.net>
> Signed-off-by: Sven Eckelmann <sven@...fation.org>
> Acked-by: Mike Frysinger <vapier@...too.org>
> Acked-by: James Bottomley <James.Bottomley@...senPartnership.com>
> Acked-by: David S. Miller <davem@...emloft.net>
> Acked-by: Ingo Molnar <mingo@...e.hu>
> Acked-by: Jesper Nilsson <jesper.nilsson@...s.com>
> Acked-by: Ralf Baechle <ralf@...ux-mips.org>
> Acked-by: David Howells <dhowells@...hat.com>
> Acked-by: Chris Metcalf <cmetcalf@...era.com>
> Acked-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Acked-by: Will Deacon <will.deacon@....com>
> Acked-by: Matt Turner <mattst88@...il.com>
> Acked-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
> Acked-by: Paul Mundt <lethal@...ux-sh.org>
> Acked-by: Heiko Carstens <heiko.carstens@...ibm.com>
> Cc: Tony Luck <tony.luck@...el.com>
> Cc: Fenghua Yu <fenghua.yu@...el.com>
> Cc: linux-ia64@...r.kernel.org
> Cc: Hirokazu Takata <takata@...ux-m32r.org>
> Cc: linux-m32r@...linux-m32r.org
> Cc: Arnd Bergmann <arnd@...db.de>
> Cc: linux-arch@...r.kernel.org
> ---
> Sry, had to rebase the patch because some lines bellow my patch in
> arch/tile/include/asm/atomic.h changed.
>
> I am still waiting for (n)acks for ia64, m32r and generic... and someone
> who is willing to apply it in his tree (maybe Arnd Bermann?).
>
> arch/alpha/include/asm/atomic.h | 2 ++
> arch/alpha/include/asm/local.h | 1 +
> arch/arm/include/asm/atomic.h | 2 ++
> arch/avr32/include/asm/atomic.h | 1 +
> arch/blackfin/include/asm/atomic.h | 1 +
> arch/cris/include/asm/atomic.h | 1 +
> arch/frv/include/asm/atomic.h | 1 +
> arch/h8300/include/asm/atomic.h | 1 +
> arch/ia64/include/asm/atomic.h | 2 ++
> arch/m32r/include/asm/atomic.h | 1 +
> arch/m32r/include/asm/local.h | 1 +
> arch/m68k/include/asm/atomic.h | 1 +
> arch/mips/include/asm/atomic.h | 2 ++
> arch/mips/include/asm/local.h | 1 +
> arch/mn10300/include/asm/atomic.h | 1 +
> arch/parisc/include/asm/atomic.h | 2 ++
> arch/powerpc/include/asm/atomic.h | 2 ++
> arch/powerpc/include/asm/local.h | 1 +
> arch/s390/include/asm/atomic.h | 2 ++
> arch/sh/include/asm/atomic.h | 1 +
> arch/sparc/include/asm/atomic_32.h | 1 +
> arch/sparc/include/asm/atomic_64.h | 2 ++
> arch/tile/include/asm/atomic.h | 9 +++++++++
> arch/tile/include/asm/atomic_32.h | 1 +
> arch/x86/include/asm/atomic.h | 1 +
> arch/x86/include/asm/atomic64_64.h | 1 +
> arch/xtensa/include/asm/atomic.h | 1 +
> include/asm-generic/atomic-long.h | 2 ++
> include/asm-generic/atomic.h | 1 +
> include/asm-generic/atomic64.h | 1 +
> include/asm-generic/local.h | 1 +
> include/asm-generic/local64.h | 2 ++
> 32 files changed, 50 insertions(+), 0 deletions(-)
Acked-by: Hirokazu Takata <takata@...ux-m32r.org>
Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists