[PATCH RT] tasklets: fix __tasklet_hi_schedule()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From b5ae1d4954394b05c17a87403e7584c7f90e457a Mon Sep 17 00:00:00 2001
From: Sebastien Dugue <sebastien.dugue@xxxxxxxx>
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.

Signed-off-by: Sebastien Dugue <sebastien.dugue@xxxxxxxx>
---
 kernel/softirq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/softirq.c b/kernel/softirq.c
index 3ee1ae7..2198970 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -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);
 }
 
-- 
1.6.0.1.308.gede4c

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux