patch-2.4.23 linux-2.4.23/include/asm-m68k/system.h

Next file: linux-2.4.23/include/asm-mips/elf.h
Previous file: linux-2.4.23/include/asm-m68k/processor.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-m68k/system.h linux-2.4.23/include/asm-m68k/system.h
@@ -42,8 +42,9 @@
   register void *_next __asm__ ("a1") = (next); \
   register void *_last __asm__ ("d1"); \
   __asm__ __volatile__("jbsr " SYMBOL_NAME_STR(resume) \
-		       : "=d" (_last) : "a" (_prev), "a" (_next) \
-		       : "d0", /* "d1", */ "d2", "d3", "d4", "d5", "a0", "a1"); \
+		       : "=a" (_prev), "=a" (_next), "=d" (_last) \
+		       : "0" (_prev), "1" (_next)		  \
+		       : "d0", "d2", "d3", "d4", "d5"); \
   (last) = _last; \
 }
 

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