aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/softirq.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-05-07 05:17:13 -0400
committerIngo Molnar <mingo@elte.hu>2009-05-07 05:17:34 -0400
commit44347d947f628060b92449702071bfe1d31dfb75 (patch)
treec6ed74610d5b3295df4296659f80f5feb94b28cc /kernel/softirq.c
parentd94fc523f3c35bd8013f04827e94756cbc0212f4 (diff)
parent413f81eba35d6ede9289b0c8a920c013a84fac71 (diff)
Merge branch 'linus' into tracing/core
Merge reason: tracing/core was on a .30-rc1 base and was missing out on on a handful of tracing fixes present in .30-rc5-almost. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/softirq.c')
-rw-r--r--kernel/softirq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c
index d4ba347a872d..dc4d0cfdcb2d 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -471,9 +471,9 @@ void tasklet_kill(struct tasklet_struct *t)
471 printk("Attempt to kill tasklet from interrupt\n"); 471 printk("Attempt to kill tasklet from interrupt\n");
472 472
473 while (test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) { 473 while (test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) {
474 do 474 do {
475 yield(); 475 yield();
476 while (test_bit(TASKLET_STATE_SCHED, &t->state)); 476 } while (test_bit(TASKLET_STATE_SCHED, &t->state));
477 } 477 }
478 tasklet_unlock_wait(t); 478 tasklet_unlock_wait(t);
479 clear_bit(TASKLET_STATE_SCHED, &t->state); 479 clear_bit(TASKLET_STATE_SCHED, &t->state);