diff options
author | David S. Miller <davem@davemloft.net> | 2008-04-27 23:54:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-28 00:09:15 +0200 |
commit | fd7354108aa5497d7177b95a6b157eaf8597d621 (patch) | |
tree | 0a068f4fcf29fae36794a0b653e6e4f136b62241 /arch/frv | |
parent | sparc64: Clean up handling of pt_regs trap type encoding. (diff) | |
download | linux-fd7354108aa5497d7177b95a6b157eaf8597d621.tar.xz linux-fd7354108aa5497d7177b95a6b157eaf8597d621.zip |
sparc64: Fix accidental syscall restart on child return from clone/fork/vfork.
This fixes a regression added by
238468b2ac76020c192a7402c92df5097916bf4a ("[SPARC64]: Use trap type
stored in pt_regs to handle syscall restart.")
Because we now encode the "returning from syscall" status in the
pt_regs area, we have to be mindful to zap it out in the child
of a fork.
During a parallel kernel build I saw an accidental -EINTR return
from vfork() in 'make' because of this bug.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/frv')
0 files changed, 0 insertions, 0 deletions