Gitweb: http://git.kernel.org/linus/bf664c0a3a42683b78d74aca2d7cfb6ccc2aa2c3 Commit: bf664c0a3a42683b78d74aca2d7cfb6ccc2aa2c3 Parent: ce0bf52dd3f9d980889190bc6097f1756b71eb8c Author: Mike Frysinger <vapier@gentoo.org> AuthorDate: Fri Jun 5 03:13:11 2009 -0400 Committer: Mike Frysinger <vapier@gentoo.org> CommitDate: Fri Jun 12 06:15:36 2009 -0400 Blackfin: fix sparseirq/kstat_irqs fallout The sparseirq changes (d7e51e66) played poorly with the Blackfin irqchip implementation as we're still using the old hardirq method. Our bad irq structure had a NULL kstat_irqs field so when all the common code tries to increment this field, everything goes big bada boom. Signed-off-by: Mike Frysinger <vapier@gentoo.org> --- arch/blackfin/kernel/irqchip.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/blackfin/kernel/irqchip.c b/arch/blackfin/kernel/irqchip.c index 401bd32..6e31e93 100644 --- a/arch/blackfin/kernel/irqchip.c +++ b/arch/blackfin/kernel/irqchip.c @@ -59,12 +59,14 @@ static struct irq_chip bad_chip = { .unmask = dummy_mask_unmask_irq, }; +static int bad_stats; static struct irq_desc bad_irq_desc = { .status = IRQ_DISABLED, .chip = &bad_chip, .handle_irq = handle_bad_irq, .depth = 1, .lock = __SPIN_LOCK_UNLOCKED(irq_desc->lock), + .kstat_irqs = &bad_stats, #ifdef CONFIG_SMP .affinity = CPU_MASK_ALL #endif -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
