summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/stackframe.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-23 08:00:03 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-23 08:00:03 +0000
commitcc858f6e51f21ecda51f60b595eae308f032566c (patch)
treedef4de98a50fc06cc5a2c36dba8c5824c9717fab /include/asm-mips/stackframe.h
parent6dd778f9528c1acc17dbfca685f51bd5c3750d45 (diff)
Store current in $28.
Diffstat (limited to 'include/asm-mips/stackframe.h')
-rw-r--r--include/asm-mips/stackframe.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-mips/stackframe.h b/include/asm-mips/stackframe.h
index c23a05448..0ee12f742 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.4 1998/03/21 08:01:09 ralf Exp $
+ * $Id: stackframe.h,v 1.4 1998/03/22 23:27:19 ralf Exp $
*/
#ifndef __ASM_MIPS_STACKFRAME_H
#define __ASM_MIPS_STACKFRAME_H
@@ -68,6 +68,8 @@
sw $28, PT_R28(sp); \
sw $30, PT_R30(sp); \
sw $31, PT_R31(sp); \
+ ori $28, sp, 0x1fff; \
+ xori $28, 0x1fff; \
.set pop
/*