Skip to contentSkip to conversation

net/stir4200: replace

PATCH New Nishanth Aravamudan 1 participant 1 message Sep 24, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 33/38 net/stir4200: replace

Any comments would be appreciated.

Description: Use set_current_state() instead of direct assignment of current->state.

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