| To: | Sven Eckelmann <sven@narfation.org> |
|---|---|
| Subject: | Re: [PATCH] atomic: add *_dec_not_zero |
| From: | Geert Uytterhoeven <geert@linux-m68k.org> |
| Date: | Wed, 4 May 2011 14:17:51 +0200 |
| Cc: | linux-kernel@vger.kernel.org, David Howells <dhowells@redhat.com>, Chris Metcalf <cmetcalf@tilera.com>, x86@kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, uclinux-dist-devel@blackfin.uclinux.org, linux-cris-kernel@axis.com, linux-ia64@vger.kernel.org, linux-m32r@ml.linux-m32r.org, linux-m68k@lists.linux-m68k.org, linux-mips@linux-mips.org, linux-am33-list@redhat.com, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3ERi4Yv6QUYVc9R1ygD5GOUKWvs/8X1wolS/oEDmci8=; b=rWTmL+qKC4a25Wby1kavCPeOcCVKBrRxXfruVvrbhM0WbjKQEJr8suEL3oJd9CI4UN C1VBQchDRocSM98CXvhG8cXSI0pNApuOzFUcd2zth2iSdh906QIiqzjVlCFkQbT22ah9 olopGzojadjlBa+DpwOwDi+Da8mISa3qcH1zc= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=f51yaEtpSAU1uXzB0uFikDTsnRzdJs5qeoBFJ5G46lBryxBVESllgxJ3ZNW0Tan/30 1dmZ9s/ahKafyMpm9XKTENrhqMALkR6UFzVX28gXJnkjoy7fqlHCrm2AjpBDIgygAIss gHankU5bqAHPFjeMQJXbuN2/GnUfHN4qWjxyk= |
| 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, May 3, 2011 at 23:30, Sven Eckelmann <sven@narfation.org> 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.
> arch/m68k/include/asm/atomic.h | 1 +
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
|
| Previous by Date: | Re: [PATCH] atomic: add *_dec_not_zero, Chris Metcalf |
|---|---|
| Next by Date: | Re: [PATCH] atomic: add *_dec_not_zero, James Bottomley |
| Previous by Thread: | Re: [PATCH] atomic: add *_dec_not_zero, Chris Metcalf |
| Next by Thread: | Re: [PATCH] atomic: add *_dec_not_zero, Will Deacon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |