summaryrefslogtreecommitdiffstats
path: root/Documentation/connector
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2007-10-16 23:26:18 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:42:48 -0700
commit9bf084f70ffde6521d113593b89461a5bd2a303b (patch)
treeea62a8c9c54d0f702e73e9fa6e6c8699106ab892 /Documentation/connector
parent252e5725cfb55a89e54888317856903fef9d5031 (diff)
downloadop-kernel-dev-9bf084f70ffde6521d113593b89461a5bd2a303b.zip
op-kernel-dev-9bf084f70ffde6521d113593b89461a5bd2a303b.tar.gz
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 'Documentation/connector')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud