diff options
author | Nicolas Pitre <nico@cam.org> | 2006-06-22 22:18:45 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-22 22:18:45 +0100 |
commit | f606a6ff222dc7dceeb4d0e214ce4f55d9c6b0e6 (patch) | |
tree | 6a44374b8085d5523743268f67bae7fd70e25a43 /arch/arm/mach-ixp23xx | |
parent | 92b7eb8ffc0741f1fd5fbd5458a466d608310442 (diff) | |
download | linux-f606a6ff222dc7dceeb4d0e214ce4f55d9c6b0e6.tar.gz linux-f606a6ff222dc7dceeb4d0e214ce4f55d9c6b0e6.tar.bz2 linux-f606a6ff222dc7dceeb4d0e214ce4f55d9c6b0e6.zip |
[ARM] 3626/1: ARM EABI: fix syscall restarting
Patch from Nicolas Pitre
The RESTARTBLOCK case currently store some code on the stack to invoke
sys_restart_syscall. However this is ABI dependent and there is a
mismatch with the way __NR_restart_syscall gets defined when the kernel
is compiled for EABI.
There is also a long standing bug in the thumb case since with OABI the
__NR_restart_syscall value includes __NR_SYSCALL_BASE which should not
be the case for Thumb syscalls.
Credits to Yauheni Kaliuta <yauheni.kaliuta@gmail.com> for finding the
EABI bug.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ixp23xx')
0 files changed, 0 insertions, 0 deletions