Skip to content

Commit 008b69e

Browse files
committed
irqchip/armada-xp: Consolidate hotplug state space
The mpic is either the main interrupt controller or is cascaded behind a GIC. The mpic is single instance and the modes are mutually exclusive, so there is no reason to have seperate cpu hotplug states. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Petazzoni <[email protected]> Cc: Sebastian Siewior <[email protected]> Cc: Marc Zyngier <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 6896bcd commit 008b69e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/irqchip/irq-armada-370-xp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ static int __init armada_370_xp_mpic_of_init(struct device_node *node,
583583
#endif
584584
} else {
585585
#ifdef CONFIG_SMP
586-
cpuhp_setup_state_nocalls(CPUHP_AP_IRQ_ARMADA_CASC_STARTING,
586+
cpuhp_setup_state_nocalls(CPUHP_AP_IRQ_ARMADA_XP_STARTING,
587587
"irqchip/armada/cascade:starting",
588588
mpic_cascaded_starting_cpu, NULL);
589589
#endif

include/linux/cpuhotplug.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ enum cpuhp_state {
8282
CPUHP_AP_IRQ_GIC_STARTING,
8383
CPUHP_AP_IRQ_HIP04_STARTING,
8484
CPUHP_AP_IRQ_ARMADA_XP_STARTING,
85-
CPUHP_AP_IRQ_ARMADA_CASC_STARTING,
8685
CPUHP_AP_IRQ_BCM2836_STARTING,
8786
CPUHP_AP_ARM_MVEBU_COHERENCY,
8887
CPUHP_AP_PERF_X86_UNCORE_STARTING,

0 commit comments

Comments
 (0)