summaryrefslogtreecommitdiffstats
path: root/scripts/mksysmap
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2007-10-17 08:26:18 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:42:48 +0200
commit9bf084f70ffde6521d113593b89461a5bd2a303b (patch)
treeea62a8c9c54d0f702e73e9fa6e6c8699106ab892 /scripts/mksysmap
parentdo_sys_poll: simplify playing with on-stack data (diff)
downloadlinux-9bf084f70ffde6521d113593b89461a5bd2a303b.tar.xz
linux-9bf084f70ffde6521d113593b89461a5bd2a303b.zip
do_poll: return -EINTR when signalled
do_poll() checks signal_pending() but returns 0 when interrupted. This means the caller has to check signal_pending() again. Change it to return -EINTR when signal_pending() and count == 0. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Andi Kleen <ak@suse.de> Cc: Davide Libenzi <davidel@xmailserver.org> Cc: Vadim Lobanov <vlobanov@speakeasy.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/mksysmap')
0 files changed, 0 insertions, 0 deletions