From d7edc2746adebffe2c351a1de557a3e9a7f44a18 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 7 Apr 2012 23:18:52 +0000 Subject: Do not enable irqs during softirq processing, just like upstream DDE --- libdde_linux26/lib/src/arch/l4/softirq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libdde_linux26/lib/src/arch/l4/softirq.c') 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). */ -- cgit v1.2.3