patch-2.4.20 linux-2.4.20/include/asm-mips64/asm.h

Next file: linux-2.4.20/include/asm-mips64/asmmacro.h
Previous file: linux-2.4.20/include/asm-mips64/addrspace.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-mips64/asm.h linux-2.4.20/include/asm-mips64/asm.h
@@ -88,7 +88,7 @@
 #define	PANIC(msg)                                      \
 		.set	push;				\
 		.set	reorder;                        \
-		la	a0,8f;                          \
+		PTR_LA	a0,8f;                          \
 		jal	panic;                          \
 9:		b	9b;                             \
 		.set	pop;				\
@@ -100,7 +100,7 @@
 #define PRINT(string)                                   \
 		.set	push;				\
 		.set	reorder;                        \
-		la	a0,8f;                          \
+		PTR_LA	a0,8f;                          \
 		jal	printk;                         \
 		.set	pop;				\
 		TEXT(string)
@@ -165,7 +165,7 @@
 		.set	push;				\
 		.set	reorder;			\
 		bnez	rt,9f;                          \
-		move	rd,rt;                          \
+		move	rd,rs;                          \
 		.set	pop;				\
 9:
 #endif /* _MIPS_ISA == _MIPS_ISA_MIPS1 */

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