diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-12-04 03:58:56 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-12-04 03:58:56 +0000 |
commit | 1d67e90f19a7acfd9a05dc59678e7d0c5090bd0d (patch) | |
tree | 357efc7b93f8f5102110d20d293f41360ec212fc /include/asm-mips/stackframe.h | |
parent | aea27b2e18d69af87e673972246e66657b4fa274 (diff) |
Merge with Linux 2.3.21.
Diffstat (limited to 'include/asm-mips/stackframe.h')
-rw-r--r-- | include/asm-mips/stackframe.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-mips/stackframe.h b/include/asm-mips/stackframe.h index 1c02b93d9..490724b21 100644 --- a/include/asm-mips/stackframe.h +++ b/include/asm-mips/stackframe.h @@ -3,7 +3,7 @@ * * Copyright (C) 1994, 1995, 1996 by Ralf Baechle and Paul M. Antoine. * - * $Id: stackframe.h,v 1.9 1999/07/26 19:42:44 harald Exp $ + * $Id: stackframe.h,v 1.10 1999/08/13 17:07:27 harald Exp $ */ #ifndef __ASM_MIPS_STACKFRAME_H #define __ASM_MIPS_STACKFRAME_H @@ -13,7 +13,10 @@ #include <linux/config.h> #define SAVE_AT \ - sw $1, PT_R1(sp) + .set push; \ + .set noat; \ + sw $1, PT_R1(sp); \ + .set pop #define SAVE_TEMP \ mfhi v1; \ @@ -101,7 +104,10 @@ SAVE_STATIC #define RESTORE_AT \ + .set push; \ + .set noat; \ lw $1, PT_R1(sp); \ + .set pop; #define RESTORE_TEMP \ lw $24, PT_LO(sp); \ |