patch-2.4.21 linux-2.4.21/include/asm-parisc/io.h

Next file: linux-2.4.21/include/asm-parisc/linux_logo.h
Previous file: linux-2.4.21/include/asm-parisc/ide.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-parisc/io.h linux-2.4.21/include/asm-parisc/io.h
@@ -51,7 +51,7 @@
 
 	__asm__ __volatile__(
 	"	rsm	2,%0\n"
-	"	ldbx	0(%2),%1\n"
+	"	ldb,ma	0(%2),%1\n"
 	"	mtsm	%0\n"
 	: "=&r" (flags), "=r" (ret) : "r" (addr) );
 
@@ -65,7 +65,7 @@
 
 	__asm__ __volatile__(
 	"	rsm	2,%0\n"
-	"	ldhx	0(%2),%1\n"
+	"	ldh,ma	0(%2),%1\n"
 	"	mtsm	%0\n"
 	: "=&r" (flags), "=r" (ret) : "r" (addr) );
 
@@ -77,7 +77,7 @@
 	u32 ret;
 
 	__asm__ __volatile__(
-	"	ldwax	0(%1),%0\n"
+	"	ldwa,ma	0(%1),%0\n"
 	: "=r" (ret) : "r" (addr) );
 
 	return ret;
@@ -88,7 +88,7 @@
 	unsigned long long ret;
 #ifdef __LP64__
 	__asm__ __volatile__(
-	"	ldda	0(%1),%0\n"
+	"	ldda,ma	0(%1),%0\n"
 	:  "=r" (ret) : "r" (addr) );
 #else
 	/* two reads may have side effects.. */
@@ -103,7 +103,7 @@
 	long flags;
 	__asm__ __volatile__(
 	"	rsm	2,%0\n"
-	"	stbs	%1,0(%2)\n"
+	"	stb,ma	%1,0(%2)\n"
 	"	mtsm	%0\n"
 	: "=&r" (flags) :  "r" (val), "r" (addr) );
 }
@@ -113,7 +113,7 @@
 	long flags;
 	__asm__ __volatile__(
 	"	rsm	2,%0\n"
-	"	sths	%1,0(%2)\n"
+	"	sth,ma	%1,0(%2)\n"
 	"	mtsm	%0\n"
 	: "=&r" (flags) :  "r" (val), "r" (addr) );
 }
@@ -121,7 +121,7 @@
 extern __inline__ void __raw_writel(unsigned int val, unsigned long addr)
 {
 	__asm__ __volatile__(
-	"	stwas	%0,0(%1)\n"
+	"	stwa,ma	%0,0(%1)\n"
 	: :  "r" (val), "r" (addr) );
 }
 
@@ -129,7 +129,7 @@
 {
 #ifdef __LP64__
 	__asm__ __volatile__(
-	"	stda	%0,0(%1)\n"
+	"	stda,ma	%0,0(%1)\n"
 	: :  "r" (val), "r" (addr) );
 #else
 	/* two writes may have side effects.. */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)