Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932497AbVJaTFO (ORCPT ); Mon, 31 Oct 2005 14:05:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932495AbVJaTFO (ORCPT ); Mon, 31 Oct 2005 14:05:14 -0500 Received: from omx1-ext.sgi.com ([192.48.179.11]:10954 "EHLO omx1.americas.sgi.com") by vger.kernel.org with ESMTP id S932494AbVJaTFM (ORCPT ); Mon, 31 Oct 2005 14:05:12 -0500 Date: Mon, 31 Oct 2005 11:05:04 -0800 (PST) From: Christoph Lameter To: Nick Piggin cc: linux-kernel Subject: Re: [patch 3/5] atomic: atomic_inc_not_zero In-Reply-To: <4364178E.8040502@yahoo.com.au> Message-ID: References: <436416AD.3050709@yahoo.com.au> <4364171C.7020103@yahoo.com.au> <43641755.5010004@yahoo.com.au> <4364178E.8040502@yahoo.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 376 Lines: 8 Maybe it would be best to put a definition of atomic_inc_zero into asm-generic? Its the same for all arches that support cmpxchg. - 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/