aboutsummaryrefslogtreecommitdiffstats
path: root/xen-2.4.16/common/softirq.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen-2.4.16/common/softirq.c')
-rw-r--r--xen-2.4.16/common/softirq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/xen-2.4.16/common/softirq.c b/xen-2.4.16/common/softirq.c
index 35932711ec..b98c47f3ce 100644
--- a/xen-2.4.16/common/softirq.c
+++ b/xen-2.4.16/common/softirq.c
@@ -166,10 +166,9 @@ static void tasklet_action(struct softirq_action *a)
if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state))
BUG();
t->func(t->data);
- tasklet_unlock(t);
- continue;
}
tasklet_unlock(t);
+ continue;
}
local_irq_disable();
@@ -200,10 +199,9 @@ static void tasklet_hi_action(struct softirq_action *a)
if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state))
BUG();
t->func(t->data);
- tasklet_unlock(t);
- continue;
}
tasklet_unlock(t);
+ continue;
}
local_irq_disable();