From: Nicolas Pitre Date: Thu, 22 Jun 2006 21:18:45 +0000 (+0100) Subject: [ARM] 3626/1: ARM EABI: fix syscall restarting X-Git-Tag: v2.6.18-rc1~1081^2~221^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f606a6ff222dc7dceeb4d0e214ce4f55d9c6b0e6;p=pandora-kernel.git [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 for finding the EABI bug. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King --- Reading git-diff-tree failed