Skip to content

Commit 6896bcd

Browse files
committed
irqchip/gic: Consolidate hotplug state space
Even if both drivers are compiled in only one instance can run on a given system depending on the available GIC version. So having seperate hotplug states for them is pointless. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Sebastian Siewior <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 36e5b0e commit 6896bcd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/irqchip/irq-gic-v3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ static void gic_raise_softirq(const struct cpumask *mask, unsigned int irq)
632632
static void gic_smp_init(void)
633633
{
634634
set_smp_cross_call(gic_raise_softirq);
635-
cpuhp_setup_state_nocalls(CPUHP_AP_IRQ_GICV3_STARTING,
635+
cpuhp_setup_state_nocalls(CPUHP_AP_IRQ_GIC_STARTING,
636636
"irqchip/arm/gicv3:starting",
637637
gic_starting_cpu, NULL);
638638
}

include/linux/cpuhotplug.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ enum cpuhp_state {
8080
CPUHP_AP_SCHED_STARTING,
8181
CPUHP_AP_RCUTREE_DYING,
8282
CPUHP_AP_IRQ_GIC_STARTING,
83-
CPUHP_AP_IRQ_GICV3_STARTING,
8483
CPUHP_AP_IRQ_HIP04_STARTING,
8584
CPUHP_AP_IRQ_ARMADA_XP_STARTING,
8685
CPUHP_AP_IRQ_ARMADA_CASC_STARTING,

0 commit comments

Comments
 (0)