patch-2.4.23 linux-2.4.23/include/asm-sparc/processor.h

Next file: linux-2.4.23/include/asm-sparc/ross.h
Previous file: linux-2.4.23/include/asm-sparc/pgtsun4c.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-sparc/processor.h linux-2.4.23/include/asm-sparc/processor.h
@@ -140,8 +140,12 @@
 			     "std\t%%g0, [%0 + %3 + 0x30]\n\t"
 			     "st\t%1, [%0 + %3 + 0x38]\n\t"
 			     "st\t%%g0, [%0 + %3 + 0x3c]"
-			     : : "r" (regs), "r" (sp - sizeof(struct reg_window)), "r" (zero),
-			     "i" ((const unsigned long)(&((struct pt_regs *)0)->u_regs[0])));
+			     : /* no outputs */
+			     : "r" (regs),
+			       "r" (sp - sizeof(struct reg_window)),
+			       "r" (zero),
+			       "i" ((const unsigned long)(&((struct pt_regs *)0)->u_regs[0]))
+			     : "memory");
 }
 
 /* Free all resources held by a thread. */

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