From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id EAE31DDE30 for ; Sat, 18 Aug 2007 11:29:54 +1000 (EST) In-Reply-To: <18116.61246.856760.243185@cargo.ozlabs.ibm.com> References: <11867913303733-git-send-email-segher@kernel.crashing.org> <18116.61246.856760.243185@cargo.ozlabs.ibm.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <5f948fd33e0908c03c07f32ae89834a9@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [PATCH] powerpc: Implement atomic{, 64}_{read, write}() without volatile Date: Sat, 18 Aug 2007 03:29:48 +0200 To: Paul Mackerras Cc: linux-arch@vger.kernel.org, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> Instead, use asm() like all other atomic operations already do. > >> +static __inline__ long atomic64_read(const atomic_t *v) > >> +static __inline__ void atomic64_set(atomic_t *v, long i) > > s/atomic_t/atomic64_t/ in both lines. I've edited my copy of the > patch. Ouch, sorry about that. Segher