diff options
| author | Andi Kleen <[email protected]> | 2007-10-18 21:32:55 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2007-10-18 21:32:55 +0200 |
| commit | 51e97990234ed195a05b424bf04c387f5ae5e5cf (patch) | |
| tree | 9b1cc97b89057464f9a06ac49fab95257da23fdc /include/linux/debugobjects.h | |
| parent | d85714d81cc0408daddb68c10f7fd69eafe7c213 (diff) | |
sched: fix return value of wait_for_completion_interruptible()
The recent wait_for_completion() cleanups:
commit 8cbbe86dfcfd68ad69916164bdc838d9e09adca8
Author: Andi Kleen <[email protected]>
Date: Mon Oct 15 17:00:14 2007 +0200
sched: cleanup: refactor common code of sleep_on / wait_for_completion
Refactor common code of sleep_on / wait_for_completion
broke the return value of wait_for_completion_interruptible().
Previously it returned 0 on success, now -1. Fix that.
Problem found by Geert Uytterhoeven.
[ mingo: fixed whitespace damage ]
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions