net/stir4200: replace
Subsystems (2)
PATCH 33/38 net/stir4200: 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/irda/stir4200.c +1 -1
@@ -684,7 +684,7 @@ static void turnaround_delay(const struc ticks = us / (1000000 /HZ );if (ticks >0 ) { - current->state =TASK_INTERRUPTIBLE ; +set_current_state (TASK_INTERRUPTIBLE );schedule_timeout (1 + ticks); }else udelay (us);
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors