• Linus Walleij's avatar
    irqchip/gic: Assign irqchip dynamically · 58b89649
    Linus Walleij authored
    Instead of having the irqchip being a static struct, make it part
    of the per-instance data so we can assign it a dynamic name. This
    has the usable side effect of displaying the GIC with an instance
    number as GIC0, GIC1 ... GICn in /proc/interrupts, which is helpful
    when debugging cascaded GICs, such as on the ARM PB11MPCore.
    
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
    58b89649
irq-gic.c 35.4 KB