From: Russell King Date: Fri, 17 Sep 2010 13:56:16 +0000 (+0100) Subject: ARM: prevent multiple syscall restarts X-Git-Tag: v2.6.36-rc6~11^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2b163bb82b12bae2504a5b31399c37d099ad3cc;p=pandora-kernel.git ARM: prevent multiple syscall restarts Al Viro reports that calling "sys_sigsuspend(-ERESTARTNOHAND, 0, 0)" with two signals coming and being handled in kernel space results in the syscall restart being done twice. Avoid this by clearing the 'why' flag when we call the signal handling code to prevent further syscall restarts after the first. Acked-by: Al Viro Signed-off-by: Russell King --- Reading git-diff-tree failed