|
@@ -472,9 +472,9 @@ void tasklet_kill(struct tasklet_struct *t)
|
|
|
printk("Attempt to kill tasklet from interrupt\n");
|
|
|
|
|
|
while (test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) {
|
|
|
- do
|
|
|
+ do {
|
|
|
yield();
|
|
|
- while (test_bit(TASKLET_STATE_SCHED, &t->state));
|
|
|
+ } while (test_bit(TASKLET_STATE_SCHED, &t->state));
|
|
|
}
|
|
|
tasklet_unlock_wait(t);
|
|
|
clear_bit(TASKLET_STATE_SCHED, &t->state);
|