]> err.no Git - linux-2.6/blobdiff - kernel/hrtimer.c
Merge branch 'for-linus' of git://linux-nfs.org/~bfields/linux
[linux-2.6] / kernel / hrtimer.c
index bd5d6b5060bcd5704c278ea38954862fb463889f..1069998fe25fdcce1af97f7be831852d85b6d20b 100644 (file)
@@ -1315,6 +1315,8 @@ static int __sched do_nanosleep(struct hrtimer_sleeper *t, enum hrtimer_mode mod
 
        } while (t->task && !signal_pending(current));
 
+       __set_current_state(TASK_RUNNING);
+
        return t->task == NULL;
 }