|
@@ -535,7 +535,7 @@ static void __init mpic_scan_ht_pic(struct mpic *mpic, u8 __iomem *devbase,
|
|
|
mpic->fixups[irq].data = readl(base + 4) | 0x80000000;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
static void __init mpic_scan_ht_pics(struct mpic *mpic)
|
|
|
{
|
|
@@ -1475,7 +1475,7 @@ struct mpic * __init mpic_alloc(struct device_node *node,
|
|
|
* as a default instead of the value read from the HW.
|
|
|
*/
|
|
|
last_irq = (greg_feature & MPIC_GREG_FEATURE_LAST_SRC_MASK)
|
|
|
- >> MPIC_GREG_FEATURE_LAST_SRC_SHIFT;
|
|
|
+ >> MPIC_GREG_FEATURE_LAST_SRC_SHIFT;
|
|
|
if (isu_size)
|
|
|
last_irq = isu_size * MPIC_MAX_ISU - 1;
|
|
|
of_property_read_u32(mpic->node, "last-interrupt-source", &last_irq);
|
|
@@ -1625,7 +1625,7 @@ void __init mpic_init(struct mpic *mpic)
|
|
|
/* start with vector = source number, and masked */
|
|
|
u32 vecpri = MPIC_VECPRI_MASK | i |
|
|
|
(8 << MPIC_VECPRI_PRIORITY_SHIFT);
|
|
|
-
|
|
|
+
|
|
|
/* check if protected */
|
|
|
if (mpic->protected && test_bit(i, mpic->protected))
|
|
|
continue;
|
|
@@ -1634,7 +1634,7 @@ void __init mpic_init(struct mpic *mpic)
|
|
|
mpic_irq_write(i, MPIC_INFO(IRQ_DESTINATION), 1 << cpu);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
/* Init spurious vector */
|
|
|
mpic_write(mpic->gregs, MPIC_INFO(GREG_SPURIOUS), mpic->spurious_vec);
|
|
|
|