net/tms380tr: replace
Subsystems (2)
PATCH 35/38 net/tms380tr: replace
Any comments would be appreciated.
Description: Use set_current_state() instead of direct assignment of current->state.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/net/tokenring/tms380tr.c +1 -1
@@ -1244,7 +1244,7 @@ void tms380tr_wait(unsigned long time) tmp = jiffies + time/(1000000 /HZ );do { - current->state =TASK_INTERRUPTIBLE ; +set_current_state (TASK_INTERRUPTIBLE ); tmp =schedule_timeout (tmp); }while (time_after (tmp, jiffies));#else
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors