Subject: Re: [PATCH] atomic: add *_dec_not_zero

From: David Howells <[email-masked]>
Date: Wed, 04 May 2011 12:53:19 +0100

Sven Eckelmann <[email-masked]> 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.
> 
> Reported-by: David S. Miller <[email-masked]>
> Signed-off-by: Sven Eckelmann <[email-masked]>

Acked-by: David Howells <[email-masked]> [MN10300 and FRV]