commit | 05991110cf94117dd488f6d64dabdea56ff35107 | [log] [tgz] |
---|---|---|
author | Kulikov Vasiliy <segooon@gmail.com> | Mon Jul 26 12:23:54 2010 +0400 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Aug 02 10:12:26 2010 +1000 |
tree | 723b3fdb4ae0c9cca37049524dfdcd2142895882 | |
parent | 0ccb3a75fe81ec3c4ceb7344c34d0497cbabb369 [diff] |
drm/nouveau: set TASK_(UN)INTERRUPTIBLE before schedule_timeout() set_current_state() is called only once before the first iteration. After return from schedule_timeout() current state is TASK_RUNNING. If we are going to wait again, set_current_state() must be called. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>