mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
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:
committed by
Dom Cobley
parent
56be3497cd
commit
fe8d830517
@@ -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)
|
static void armctrl_ack_irq(struct irq_data *d)
|
||||||
{
|
{
|
||||||
@@ -168,7 +169,7 @@ static struct irq_chip armctrl_chip = {
|
|||||||
.irq_unmask = armctrl_unmask_irq,
|
.irq_unmask = armctrl_unmask_irq,
|
||||||
.flags = IRQCHIP_MASK_ON_SUSPEND |
|
.flags = IRQCHIP_MASK_ON_SUSPEND |
|
||||||
IRQCHIP_SKIP_SET_WAKE,
|
IRQCHIP_SKIP_SET_WAKE,
|
||||||
#ifdef CONFIG_ARM64
|
#if defined(CONFIG_SMP)
|
||||||
.irq_ack = armctrl_ack_irq
|
.irq_ack = armctrl_ack_irq
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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)
|
void bcm2836_arm_irqchip_spin_gpu_irq(void)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user