PERFORCE change 130465 for review

Marcel Moolenaar marcel at FreeBSD.org
Fri Dec 7 21:32:13 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=130465

Change 130465 by marcel at marcel_xcllnt on 2007/12/08 05:31:51

	Preserve changes across the libpthread->libkse move.

Affected files ...

.. //depot/projects/ia64/lib/libkse/arch/ia64/include/atomic_ops.h#2 edit

Differences ...

==== //depot/projects/ia64/lib/libkse/arch/ia64/include/atomic_ops.h#2 (text+ko) ====

@@ -32,13 +32,13 @@
 static inline void
 atomic_swap_int(volatile int *dst, int val, int *res)
 {
-	__asm("xchg4	%0=[%2],%1" : "=r"(*res) : "r"(val), "r"(dst));
+	__asm __volatile("xchg4 %0=[%2],%1" : "=r"(*res) : "r"(val), "r"(dst));
 }
 
 static inline void
 atomic_swap_long(volatile long *dst, long val, long *res)
 {
-	__asm("xchg8	%0=[%2],%1" : "=r"(*res) : "r"(val), "r"(dst));
+	__asm __volatile("xchg8 %0=[%2],%1" : "=r"(*res) : "r"(val), "r"(dst));
 }
 
 #define	atomic_swap_ptr(d,v,r)		\


More information about the p4-projects mailing list