Re: [PATCH] atomic: add *_dec_not_zero
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Sven Eckelmann <sven@xxxxxxxxxxxxx>
- Subject: Re: [PATCH] atomic: add *_dec_not_zero
- From: Will Deacon <will.deacon@xxxxxxx>
- Date: Wed, 04 May 2011 18:27:36 +0100
- Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, linux-m32r@xxxxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, linux-cris-kernel@xxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx, Chris Metcalf <cmetcalf@xxxxxxxxxx>, David Howells <dhowells@xxxxxxxxxx>, linux-m68k@xxxxxxxxxxxxxxx, linux-am33-list@xxxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, uclinux-dist-devel@xxxxxxxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
- In-reply-to: <1304458235-28473-1-git-send-email-sven@xxxxxxxxxxxxx>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1304458235-28473-1-git-send-email-sven@xxxxxxxxxxxxx>
On Tue, 2011-05-03 at 22:30 +0100, Sven Eckelmann wrote:
> 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.
>
For the ARM changes:
Acked-by: Will Deacon <will.deacon@xxxxxxx>
Cheers,
Will
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]