patch-2.4.10 linux/arch/mips64/kernel/signal32.c
Next file: linux/arch/mips64/kernel/syscall.c
Previous file: linux/arch/mips64/kernel/signal.c
Back to the patch index
Back to the overall index
- Lines: 75
- Date:
Sun Sep 9 10:43:01 2001
- Orig file:
v2.4.9/linux/arch/mips64/kernel/signal32.c
- Orig date:
Wed Jan 24 15:22:55 2001
diff -u --recursive --new-file v2.4.9/linux/arch/mips64/kernel/signal32.c linux/arch/mips64/kernel/signal32.c
@@ -152,10 +152,6 @@
sigset32_t *uset;
sigset_t newset, saveset;
-#if DEBUG_MIPS64
-printk("%s called.\n", __FUNCTION__);
-#endif
-
save_static(®s);
uset = (sigset32_t *) regs.regs[4];
if (get_sigset(&newset, uset))
@@ -185,10 +181,6 @@
sigset_t newset, saveset;
size_t sigsetsize;
-#if DEBUG_MIPS64
-printk("%s called.\n", __FUNCTION__);
-#endif
-
save_static(®s);
/* XXX Don't preclude handling different sized sigset_t's. */
sigsetsize = regs.regs[5];
@@ -359,10 +351,6 @@
struct sigframe *frame;
sigset_t blocked;
-#if DEBUG_MIPS64
-printk("%s called.\n", __FUNCTION__);
-#endif
-
frame = (struct sigframe *) regs.regs[29];
if (!access_ok(VERIFY_READ, frame, sizeof(*frame)))
goto badframe;
@@ -400,7 +388,6 @@
struct rt_sigframe *frame;
sigset_t set;
stack_t st;
-printk("%s called.\n", __FUNCTION__);
frame = (struct rt_sigframe *) regs.regs[29];
if (!access_ok(VERIFY_READ, frame, sizeof(*frame)))
@@ -580,10 +567,10 @@
/*
* Set up the return code ...
*
- * li v0, __NR_Linux32_sigreturn
+ * li v0, __NR_Linux32_rt_sigreturn
* syscall
*/
- err |= __put_user(0x24020000 + __NR_Linux32_sigreturn,
+ err |= __put_user(0x24020000 + __NR_Linux32_rt_sigreturn,
frame->rs_code + 0);
err |= __put_user(0x0000000c ,
frame->rs_code + 1);
@@ -683,10 +670,6 @@
struct k_sigaction *ka;
siginfo_t info;
-#if DEBUG_MIPS64
-printk("%s: delivering signal.\n", current->comm);
-#endif
-
if (!oldset)
oldset = ¤t->blocked;
@@ -785,9 +768,6 @@
if (regs->regs[0])
syscall_restart(regs, ka);
/* Whee! Actually deliver the signal. */
-#if DEBUG_MIPS64
-printk("%s: delivering signal.\n", __FUNCTION__);
-#endif
handle_signal(signr, ka, &info, oldset, regs);
return 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)