summaryrefslogtreecommitdiffstats
path: root/arch/mips64/kernel
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-03-20 22:31:13 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-03-20 22:31:13 +0000
commit6431552a72f697df1d693ffc15eae5f2575d46e2 (patch)
tree0b06de9b6e8d8b939607f7d8b687a31dba153d2a /arch/mips64/kernel
parent9b2682f10f2ad4898ba0542f5ad57a590ebfae5c (diff)
The 32 bit signal handling code should set up for a 32 bit sigreturn
when the user signal handler returns.
Diffstat (limited to 'arch/mips64/kernel')
-rw-r--r--arch/mips64/kernel/signal32.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips64/kernel/signal32.c b/arch/mips64/kernel/signal32.c
index e638ea583..c4cf4a753 100644
--- a/arch/mips64/kernel/signal32.c
+++ b/arch/mips64/kernel/signal32.c
@@ -1,4 +1,4 @@
-/* $Id: signal32.c,v 1.3 2000/03/07 15:45:28 ralf Exp $
+/* $Id: signal32.c,v 1.4 2000/03/15 22:46:55 kanoj Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
@@ -389,10 +389,10 @@ setup_frame(struct k_sigaction * ka, struct pt_regs *regs,
/*
* Set up the return code ...
*
- * li v0, __NR_sigreturn
+ * li v0, __NR_Linux32_sigreturn
* syscall
*/
- err |= __put_user(0x24020000 + __NR_sigreturn,
+ err |= __put_user(0x24020000 + __NR_Linux32_sigreturn,
frame->sf_code + 0);
err |= __put_user(0x0000000c ,
frame->sf_code + 1);
@@ -452,10 +452,10 @@ setup_rt_frame(struct k_sigaction * ka, struct pt_regs *regs,
/*
* Set up the return code ...
*
- * li v0, __NR_sigreturn
+ * li v0, __NR_Linux32_sigreturn
* syscall
*/
- err |= __put_user(0x24020000 + __NR_sigreturn,
+ err |= __put_user(0x24020000 + __NR_Linux32_sigreturn,
frame->rs_code + 0);
err |= __put_user(0x0000000c ,
frame->rs_code + 1);