microblaze: fix handling of multiple pending signals
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Apr 2012 08:43:50 +0000 (04:43 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 Feb 2013 23:16:02 +0000 (18:16 -0500)
commite9f9252667e383c0ccfd3570b358ccb72cd51359
treeb4df1eecc63538399cc9781bf2430bb3ec6e94b6
parent14203e19cbc562a79f49117c45c80639a1e65bdd
microblaze: fix handling of multiple pending signals

We need to keep building sigframes until no pending signals remain.
Wrap do_notify_resume() calls into loops; do _not_ allow syscall
restart logics to trigger after the first iteration.

Incidentally, comments about pending signals that should (somehow)
be in r18 are pure BS.  Doesn't work that way and cannot work that
way, sorry...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/microblaze/kernel/entry-nommu.S
arch/microblaze/kernel/entry.S