Skip to contentSkip to conversation

tasklets: fix __tasklet_hi_schedule()

PATCH Applied Sebastien Dugue 2 participants 2 messages Sep 11, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tasklets: fix __tasklet_hi_schedule()

Quoted 1 line

From b5ae1d4954394b05c17a87403e7584c7f90e457a Mon Sep 17 00:00:00 2001

From: Sebastien Dugue <[email protected]>
Date: Thu, 11 Sep 2008 13:47:40 +0200
Subject: [PATCH 1/1] tasklets: fix __tasklet_hi_schedule()

fix __tasklet_hi_schedule() which incorrectly puts the tasklet to be
scheduled on the wrong list (tasklet_vec instead of tasklet_hi_vec).

This broke rebooting a box with the ehea driver.

---
 kernel/softirq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/softirq.c +1 -1
index 3ee1ae7..2198970 100644
@@ -536,7 +536,7 @@ void __tasklet_hi_schedule(struct tasklet_struct *t)
 	unsigned long flags;
 
 	local_irq_save(flags);
-	__tasklet_common_schedule(t, &__get_cpu_var(tasklet_vec), HI_SOFTIRQ);
+	__tasklet_common_schedule(t, &__get_cpu_var(tasklet_hi_vec), HI_SOFTIRQ);
 	local_irq_restore(flags);
 }
 
Signature · 1 line
1.6.0.1.308.gede4c
#1 lore raw
Quoted 11 lines · Sebastien Dugue

From b5ae1d4954394b05c17a87403e7584c7f90e457a Mon Sep 17 00:00:00 2001
From: Sebastien Dugue <[email protected]>
Date: Thu, 11 Sep 2008 13:47:40 +0200
Subject: [PATCH 1/1] tasklets: fix __tasklet_hi_schedule()

fix __tasklet_hi_schedule() which incorrectly puts the tasklet to be
scheduled on the wrong list (tasklet_vec instead of tasklet_hi_vec).

This broke rebooting a box with the ehea driver.

Thanks, applied.

-- Steve