We do not have any in-tree platform with this pathological setup, and only a single system (Cavium's cns3xxx) isn't DT aware. Let's drop the secondary GIC support for now, until we remove the above horror altogether.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -158,8 +158,7 @@ int gic_of_init_child(struct device *dev, struct gic_chip_data **gic, int irq); · 157 unmodified lines | ||
| 158 | 158 | * Legacy platforms not converted to DT yet must use this to init |
| 159 | 159 | * their GIC |
| 160 | 160 | */ |
| 161 | −void gic_init(unsigned int nr, int start, | |
| 162 | − void __iomem *dist , void __iomem *cpu); | |
| 161 | +void gic_init(void __iomem *dist , void __iomem *cpu); | |
| 163 | 162 | |
| 164 | 163 | int gicv2m_init(struct fwnode_handle *parent_handle, |
| 165 | 164 | struct irq_domain *parent); |