Commit 8af12c31 authored by Paul Mackerras's avatar Paul Mackerras

PPC32: remove check for ERESTARTNOHAND in syscall return path.

This error is handled in the signal delivery code and should never be
returned from a syscall unless a signal is pending.  Grepping seems to
indicate that that is in fact the case (but not for ERESTARTSYS, but
that is another problem).
parent d9084455
......@@ -200,9 +200,6 @@ ret_from_syscall:
andi. r11,r11,_TIF_FORCE_NOERROR
bne 30f
neg r3,r3
cmpi 0,r3,ERESTARTNOHAND
bne 22f
li r3,EINTR
22: lwz r10,_CCR(r1) /* Set SO bit in CR */
oris r10,r10,0x1000
stw r10,_CCR(r1)
......
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