Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754577Ab1EDMJX (ORCPT ); Wed, 4 May 2011 08:09:23 -0400 Received: from usmamail.tilera.com ([206.83.70.75]:62371 "EHLO USMAMAIL.TILERA.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754533Ab1EDMJW (ORCPT ); Wed, 4 May 2011 08:09:22 -0400 Message-ID: <4DC141EC.5050406@tilera.com> Date: Wed, 4 May 2011 08:09:16 -0400 From: Chris Metcalf User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Sven Eckelmann CC: , David Howells , , , , , , , , , , , , , , , , Subject: Re: [PATCH] atomic: add *_dec_not_zero References: <1304458235-28473-1-git-send-email-sven@narfation.org> In-Reply-To: <1304458235-28473-1-git-send-email-sven@narfation.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 893 Lines: 24 On 5/3/2011 5:30 PM, 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. > > Reported-by: David S. Miller > Signed-off-by: Sven Eckelmann > [...] > arch/tile/include/asm/atomic.h | 9 +++++++++ > arch/tile/include/asm/atomic_32.h | 1 + Acked-by: Chris Metcalf -- Chris Metcalf, Tilera Corp. http://www.tilera.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/