[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <18116.61246.856760.243185@cargo.ozlabs.ibm.com>
Date: Fri, 17 Aug 2007 10:43:42 +1000
From: Paul Mackerras <paulus@...ba.org>
To: Segher Boessenkool <segher@...nel.crashing.org>
Cc: linuxppc-dev@...abs.org, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc: Implement atomic{,64}_{read,write}() without volatile
Segher Boessenkool writes:
> 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.
Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists