]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - arch/ia64/kernel/irq.c
[PATCH] kexec: Avoid migration of already disabled irqs (ia64)
[linux-3.10.git] / arch / ia64 / kernel / irq.c
index 54d55e4d64f7e1e70aa30d8d2c853a35bafe5f0a..ce49c85c928f5fe44f52501c86211b11926c89d8 100644 (file)
@@ -122,6 +122,9 @@ static void migrate_irqs(void)
        for (irq=0; irq < NR_IRQS; irq++) {
                desc = irq_desc + irq;
 
+               if (desc->status == IRQ_DISABLED)
+                       continue;
+
                /*
                 * No handling for now.
                 * TBD: Implement a disable function so we can now