Commit 06165e7d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

changed direct access of current->state to set_current_state() call.

Thanks to Paul Komkoff for reminding me of this.
parent 13eac223
...@@ -11,7 +11,7 @@ static __inline__ void uhci_wait_ms(unsigned int ms) ...@@ -11,7 +11,7 @@ static __inline__ void uhci_wait_ms(unsigned int ms)
{ {
if(!in_interrupt()) if(!in_interrupt())
{ {
current->state = TASK_UNINTERRUPTIBLE; set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(1 + ms * HZ / 1000); schedule_timeout(1 + ms * HZ / 1000);
} }
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment