]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hrtimer: fix hrtimer_init_sleeper() users
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 1 Feb 2008 16:45:13 +0000 (17:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Feb 2008 16:45:13 +0000 (17:45 +0100)
commit3588a085cd52ef080bf72df772378e1ba6bb292f
tree9c013c37431eb3a0d0da3ab14cbc4985600e82a2
parent24e1c13c93cbdd05e4b7ea921c0050b036555adc
hrtimer: fix hrtimer_init_sleeper() users

this patch:

 commit 37bb6cb4097e29ffee970065b74499cbf10603a3
 Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
 Date:   Fri Jan 25 21:08:32 2008 +0100

     hrtimer: unlock hrtimer_wakeup

Broke hrtimer_init_sleeper() users. It forgot to fix up the futex
caller of this function to detect the failed queueing and messed up
the do_nanosleep() caller in that it could leak a TASK_INTERRUPTIBLE
state.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/futex.c
kernel/hrtimer.c