diff --git a/arch/x86_64/kernel/i8259.c b/arch/x86_64/kernel/i8259.c index d73c79e..fedde34 100644 --- a/arch/x86_64/kernel/i8259.c +++ b/arch/x86_64/kernel/i8259.c @@ -421,7 +421,11 @@ void __init init_ISA_irqs (void) { int i; + if (!irqs_disabled()) + printk("init_ISA_irqs(): -1 bug: interrupts were enabled early\n"); init_bsp_APIC(); + if (!irqs_disabled()) + printk("init_ISA_irqs(): -2 bug: interrupts were enabled early\n"); init_8259A(0); for (i = 0; i < NR_IRQS; i++) {