[MIPS] Avoid double signal restarting.
[deliverable/linux.git] / arch / mips / kernel / irixsig.c
index 052ea15f1e800ac8627d6aa4f68ca965ed8232fb..719364752e7758c3b936203951d4dcd8b5e2f149 100644 (file)
@@ -224,6 +224,7 @@ void do_irix_signal(struct pt_regs *regs)
                        regs->regs[7] = regs->regs[26];
                        regs->cp0_epc -= 4;
                }
+               regs->regs[0] = 0;      /* Don't deal with this again.  */
        }
 
        /*
This page took 0.053901 seconds and 5 git commands to generate.