From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Date: Thu, 15 Jun 2006 20:49:33 +0000 Subject: Re: Why does ia64 not use fetchadd in atomic.h? Message-Id: <20060615204933.GS2387@parisc-linux.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org On Thu, Jun 15, 2006 at 01:35:42PM -0700, Christoph Lameter wrote: > Why not > > #define ia64_atomic_add(__i, __v) ia64_fetchadd(__i, &v->counter, acq) Because ia64_fetchadd() only supports 8 different constants?