| To: | Sven Eckelmann <sven@narfation.org> |
|---|---|
| Subject: | Re: [PATCH] atomic: add *_dec_not_zero |
| From: | Will Deacon <will.deacon@arm.com> |
| Date: | Wed, 04 May 2011 18:27:36 +0100 |
| Cc: | linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mips@linux-mips.org, linux-m32r@ml.linux-m32r.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, linux-cris-kernel@axis.com, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, x86@kernel.org, Chris Metcalf <cmetcalf@tilera.com>, David Howells <dhowells@redhat.com>, linux-m68k@vger.kernel.org, linux-am33-list@redhat.com, linux-alpha@vger.kernel.org, sparclinux@vger.kernel.org, uclinux-dist-devel@blackfin.uclinux.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org |
| In-reply-to: | <1304458235-28473-1-git-send-email-sven@narfation.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1304458235-28473-1-git-send-email-sven@narfation.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
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@arm.com> Cheers, Will |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] atomic: add *_dec_not_zero, James Bottomley |
|---|---|
| Next by Date: | Re: [PATCH] atomic: add *_dec_not_zero, Matt Turner |
| Previous by Thread: | Re: [PATCH] atomic: add *_dec_not_zero, Geert Uytterhoeven |
| Next by Thread: | Re: [PATCH] atomic: add *_dec_not_zero, Matt Turner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |