ARM: entry: allow ARM-private syscalls to be restarted
authorWill Deacon <will.deacon@arm.com>
Mon, 13 May 2013 18:16:34 +0000 (19:16 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 22 Jul 2013 09:49:00 +0000 (10:49 +0100)
commit377747c40657eb35ad98a56439606d96a928425a
tree04a17c4d94a69f772e770c1ca20776300304589c
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
ARM: entry: allow ARM-private syscalls to be restarted

System calls will only be restarted after signal handling if they (a)
return an error code indicating that a restart is required and (b) have
`why' set to a non-zero value, to indicate that the signal interrupted
them.

This patch leaves `why' set to a non-zero value for ARM-private syscalls
, and only zeroes it for syscalls that are not implemented.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/entry-common.S