Commit 1fe53e2a authored by Anton Blanchard's avatar Anton Blanchard

ppc64: signal fix from 2.4 branch

parent 50aaccb1
......@@ -1245,6 +1245,7 @@ handle_signal32(unsigned long sig, struct k_sigaction *ka,
|| __put_user((unsigned int)frame, &sc->regs)
|| __put_user(sig, &sc->signal))
goto badframe;
}
if (ka->sa.sa_flags & SA_ONESHOT)
ka->sa.sa_handler = SIG_DFL;
......@@ -1256,7 +1257,7 @@ handle_signal32(unsigned long sig, struct k_sigaction *ka,
recalc_sigpending();
spin_unlock_irq(&current->sigmask_lock);
}
}
return;
badframe:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment