Revision a989ff898f9740651d00388c33bdf4f2a7914920 authored by Al Viro on 04 November 2010, 11:13:59 UTC, committed by Ralf Baechle on 16 December 2010, 18:10:52 UTC
We never needed that (->regs[2] is overwritten on return from syscall paths with return value of syscall, so storing it there early made no sense) and with new restart logics since d27240bf7e61d2656de18e158ec910a902030847 it has become really bad - we lose the original syscall number before the place where we decide that we might need a syscall restart. Note that for child we do need the assignment to regs[2] - it won't go through the normal return from syscall path. [Ralf: Issue found and reported by Lluís; initial investigations by me; bug finally found and patch by Al; testing by me and Lluís.] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Tested-by: Lluís Batlle i Rossell <viriketo@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 2b3e502
File | Mode | Size |
---|---|---|
dts-bindings | ||
00-INDEX | -rw-r--r-- | 938 bytes |
booting-without-of.txt | -rw-r--r-- | 59.2 KB |
bootwrapper.txt | -rw-r--r-- | 7.6 KB |
cpu_features.txt | -rw-r--r-- | 2.6 KB |
eeh-pci-error-recovery.txt | -rw-r--r-- | 15.0 KB |
hvcs.txt | -rw-r--r-- | 23.2 KB |
kvm_440.txt | -rw-r--r-- | 2.2 KB |
mpc52xx.txt | -rw-r--r-- | 1.2 KB |
phyp-assisted-dump.txt | -rw-r--r-- | 4.9 KB |
ptrace.txt | -rw-r--r-- | 5.3 KB |
qe_firmware.txt | -rw-r--r-- | 12.8 KB |
sound.txt | -rw-r--r-- | 3.3 KB |
zImage_layout.txt | -rw-r--r-- | 1.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...