diff options
author | Nicolas Pitre <nico@cam.org> | 2006-06-22 17:18:45 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-22 17:18:45 -0400 |
commit | f606a6ff222dc7dceeb4d0e214ce4f55d9c6b0e6 (patch) | |
tree | 6a44374b8085d5523743268f67bae7fd70e25a43 /arch/arm/kernel/head-nommu.S | |
parent | 92b7eb8ffc0741f1fd5fbd5458a466d608310442 (diff) |
[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/kernel/head-nommu.S')
0 files changed, 0 insertions, 0 deletions