signal: sys_pause() should check signal_pending()
authorOleg Nesterov <oleg@redhat.com>
Wed, 25 May 2011 17:22:27 +0000 (19:22 +0200)
committerOleg Nesterov <oleg@redhat.com>
Wed, 25 May 2011 17:22:27 +0000 (19:22 +0200)
ERESTART* is always wrong without TIF_SIGPENDING. Teach sys_pause()
to handle the spurious wakeup correctly.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>

No differences found