patch-pre2.0.5 linux/include/asm-m68k/segment.h

Next file: linux/include/asm-m68k/unistd.h
Previous file: linux/include/asm-m68k/pgtable.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.4/linux/include/asm-m68k/segment.h linux/include/asm-m68k/segment.h
@@ -155,7 +155,7 @@
 			 : "0" (from), "1" (to)
 			 : "d0", "memory");
 	if (tmp & 1)
-		__asm__ ("moveb %0@,%/d0\n\t"
+		__asm__ __volatile__ ("moveb %0@,%/d0\n\t"
 			 "movesb %/d0,%1@\n\t"
 			 : /* no outputs */
 			 : "a" (from), "a" (to)
@@ -251,7 +251,7 @@
 			 : "0" (from), "1" (to)
 			 : "d0", "memory");
 	if (tmp & 1)
-		__asm__ ("movesb %0@,%/d0\n\t"
+		__asm__ __volatile__ ("movesb %0@,%/d0\n\t"
 			 "moveb %/d0,%1@\n\t"
 			 : /* no outputs */
 			 : "a" (from), "a" (to)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this