aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal_n32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/signal_n32.c')
-rw-r--r--arch/mips/kernel/signal_n32.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c
index 192073ee098f..1d4f39cd0386 100644
--- a/arch/mips/kernel/signal_n32.c
+++ b/arch/mips/kernel/signal_n32.c
@@ -47,8 +47,6 @@
47#define __NR_N32_rt_sigreturn 6211 47#define __NR_N32_rt_sigreturn 6211
48#define __NR_N32_restart_syscall 6214 48#define __NR_N32_restart_syscall 6214
49 49
50#define DEBUG_SIG 0
51
52#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) 50#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
53 51
54/* IRIX compatible stack_t */ 52/* IRIX compatible stack_t */
@@ -221,11 +219,10 @@ int setup_rt_frame_n32(struct k_sigaction * ka,
221 regs->regs[31] = (unsigned long) frame->rs_code; 219 regs->regs[31] = (unsigned long) frame->rs_code;
222 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler; 220 regs->cp0_epc = regs->regs[25] = (unsigned long) ka->sa.sa_handler;
223 221
224#if DEBUG_SIG 222 DEBUGP("SIG deliver (%s:%d): sp=0x%p pc=0x%lx ra=0x%lx\n",
225 printk("SIG deliver (%s:%d): sp=0x%p pc=0x%lx ra=0x%p\n",
226 current->comm, current->pid, 223 current->comm, current->pid,
227 frame, regs->cp0_epc, regs->regs[31]); 224 frame, regs->cp0_epc, regs->regs[31]);
228#endif 225
229 return 0; 226 return 0;
230 227
231give_sigsegv: 228give_sigsegv: