patch-2.1.73 linux/include/asm-mips/stackframe.h

Next file: linux/include/asm-mips/string.h
Previous file: linux/include/asm-mips/socket.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.72/linux/include/asm-mips/stackframe.h linux/include/asm-mips/stackframe.h
@@ -10,8 +10,11 @@
 #include <asm/offset.h>
 
 #define SAVE_ALL                                         \
+		.set	push;                            \
+		.set	reorder;                         \
 		mfc0	k0, CP0_STATUS;                  \
 		sll	k0, 3;     /* extract cu0 bit */ \
+		.set	pop;                             \
 		bltz	k0, 8f;                          \
 		 move	k1, sp;                          \
 		/* Called from user mode, new stack. */  \
@@ -68,7 +71,10 @@
  * that a modified IE mask will be nullified.
  */
 #define RESTORE_ALL                                      \
+		.set	push;                            \
+		.set	reorder;                         \
 		mfc0	t0, CP0_STATUS;                  \
+		.set	pop;                             \
 		ori	t0, 0x1f;                        \
 		xori	t0, 0x1f;                        \
 		mtc0	t0, CP0_STATUS;                  \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov