Message ID | 4DECEDF9.4010202@selfish.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c index 31a9db7..fc505c3 100644 --- a/kernel/irq/generic-chip.c +++ b/kernel/irq/generic-chip.c @@ -74,6 +74,13 @@ void irq_gc_mask_set_bit(struct irq_data *d) void irq_gc_mask_clr_bit(struct irq_data *d) { struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); + + if (d->irq > 31) { + printk(KERN_ERR "Interrupt is %d %d\n", d->irq, gc->irq_base); + printk(KERN_ERR "RegBase is 0x%p offset %lu\n", gc->reg_base, + cur_regs(d)->mask); + } + u32 mask = 1 << (d->irq - gc->irq_base); irq_gc_lock(gc);