Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2007 05:32:12 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 130465 for review
Message-ID:  <200712080532.lB85WCqp050771@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=130465

Change 130465 by marcel@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)		\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712080532.lB85WCqp050771>