summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-07 23:18:52 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-07 23:19:19 +0000
commit269dd0992a850c9d1a28e636977c4a4955a33212 (patch)
tree1b68ea823a398c9635c16f7265189f4766be6c0a
parent130cf77b86a7777994f1e1e8dcb646f366a2d294 (diff)
Do not enable irqs during softirq processing, just like upstream DDE
-rw-r--r--libdde_linux26/lib/src/arch/l4/softirq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdde_linux26/lib/src/arch/l4/softirq.c b/libdde_linux26/lib/src/arch/l4/softirq.c
index 67e8f5aa..21b36d17 100644
--- a/libdde_linux26/lib/src/arch/l4/softirq.c
+++ b/libdde_linux26/lib/src/arch/l4/softirq.c
@@ -172,6 +172,7 @@ static void tasklet_hi_action(struct softirq_action *a)
}
}
+
#define MAX_SOFTIRQ_RETRIES 10
/** Run softirq handlers
@@ -185,7 +186,6 @@ void __do_softirq(void)
/* reset softirq count */
set_softirq_pending(0);
- local_irq_enable();
/* While we have a softirq pending... */
while (pending) {
@@ -197,7 +197,6 @@ void __do_softirq(void)
/* remove pending flag for last softirq */
pending >>= 1;
}
- local_irq_disable();
/* Somebody might have scheduled another softirq in between
* (e.g., an IRQ thread or another tasklet). */