drivers: irq-bcm283x: swizzle interrupts on ARMv7 too

BCM2836 with Cortex-A7 cores has almost the same ARM_LOCAL interrupt
routing logic as BCM2837, so relax the compile guard to CONFIG_SMP not
CONFIG_ARM64.

Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
This commit is contained in:
Jonathan Bell
2024-09-12 11:09:30 +01:00
committed by Dom Cobley
parent 56be3497cd
commit fe8d830517
2 changed files with 4 additions and 3 deletions

View File

@@ -153,7 +153,8 @@ static void armctrl_unmask_irq(struct irq_data *d)
}
}
#ifdef CONFIG_ARM64
#if defined(CONFIG_SMP)
void bcm2836_arm_irqchip_spin_gpu_irq(void);
static void armctrl_ack_irq(struct irq_data *d)
{
@@ -168,7 +169,7 @@ static struct irq_chip armctrl_chip = {
.irq_unmask = armctrl_unmask_irq,
.flags = IRQCHIP_MASK_ON_SUSPEND |
IRQCHIP_SKIP_SET_WAKE,
#ifdef CONFIG_ARM64
#if defined(CONFIG_SMP)
.irq_ack = armctrl_ack_irq
#endif
};

View File

@@ -89,7 +89,7 @@ static void bcm2836_arm_irqchip_unmask_gpu_irq(struct irq_data *d)
{
}
#ifdef CONFIG_ARM64
#if defined(CONFIG_SMP)
void bcm2836_arm_irqchip_spin_gpu_irq(void)
{