summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManfred Spraul <manfred@colorfullife.com>2011-11-03 00:38:52 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-03 03:07:01 +0400
commit0b0577f6080c0645b079dcc03fdbaf40d928beb8 (patch)
tree0dcedf3f2e6c3aa9c363a4c6272225ebfa1c61c5 /include
parent3c24783bb2deafaa106b7e69a97540071afc590c (diff)
downloadlinux-0b0577f6080c0645b079dcc03fdbaf40d928beb8.tar.xz
ipc/sem.c: handle spurious wakeups
semtimedop() does not handle spurious wakeups, it returns -EINTR to user space. Most other schedule() users would just loop and not return to user space. The patch adds such a loop to semtimedop() Signed-off-by: Manfred Spraul <manfred@colorfullife.com> Reported-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Mike Galbraith <efault@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions