From: Al Viro Date: Sat, 28 Apr 2012 21:51:42 +0000 (-0400) Subject: arm: if we get into work_pending while returning to kernel mode, just go away X-Git-Tag: v3.5-rc1~48^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21c1176a72bd019d513b26e05d491a31b50b18d2;p=pandora-kernel.git arm: if we get into work_pending while returning to kernel mode, just go away checking in do_signal() is pointless - if we get there with !user_mode(regs) (and we might), we'll end up looping indefinitely. Check in work_pending and break out of the loop if so. Acked-by: Russell King Signed-off-by: Al Viro --- Reading git-diff-tree failed