[PATCH] ppc64: add BPA platform type
[pandora-kernel.git] / arch / ppc64 / kernel / irq.c
index d860467..3defc8c 100644 (file)
@@ -395,6 +395,9 @@ int virt_irq_create_mapping(unsigned int real_irq)
        if (ppc64_interrupt_controller == IC_OPEN_PIC)
                return real_irq;        /* no mapping for openpic (for now) */
 
+       if (ppc64_interrupt_controller == IC_BPA_IIC)
+               return real_irq;        /* no mapping for iic either */
+
        /* don't map interrupts < MIN_VIRT_IRQ */
        if (real_irq < MIN_VIRT_IRQ) {
                virt_irq_to_real_map[real_irq] = real_irq;