Re: [PATCH] atomic: add *_dec_not_zero

From: Geert Uytterhoeven
Date: Wed May 04 2011 - 08:18:00 EST


On Tue, May 3, 2011 at 23:30, Sven Eckelmann <sven@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

            Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/