Thread (4 messages) 4 messages, 2 authors, 2007-08-18

Re: [PATCH] powerpc: Implement atomic{, 64}_{read, write}() without volatile

From: Paul Mackerras <hidden>
Date: 2007-08-17 00:44:18
Also in: linux-arch, lkml

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help