diff options
Diffstat (limited to 'configs/platform-rpi/patches/linux-4.4/0010-irqchip-bcm2836-make-code-more-readable.patch')
-rw-r--r-- | configs/platform-rpi/patches/linux-4.4/0010-irqchip-bcm2836-make-code-more-readable.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/configs/platform-rpi/patches/linux-4.4/0010-irqchip-bcm2836-make-code-more-readable.patch b/configs/platform-rpi/patches/linux-4.4/0010-irqchip-bcm2836-make-code-more-readable.patch deleted file mode 100644 index 7a4315d..0000000 --- a/configs/platform-rpi/patches/linux-4.4/0010-irqchip-bcm2836-make-code-more-readable.patch +++ /dev/null @@ -1,28 +0,0 @@ -From: Andrea Merello <andrea.merello@gmail.com> -Date: Sat, 26 Dec 2015 13:47:24 -0800 -Subject: [PATCH] irqchip: bcm2836: make code more readable - -Avoid using hardcoded magics. We have a #define for this number. -No functional changes. - -Signed-off-by: Andrea Merello <andrea.merello@gmail.com> -Reviewed-by: Eric Anholt <eric@anholt.net> -Signed-off-by: Eric Anholt <eric@anholt.net> -Signed-off-by: Alexander Aring <alex.aring@gmail.com> ---- - drivers/irqchip/irq-bcm2836.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c -index e314cce70201..6c9aaad0e4f1 100644 ---- a/drivers/irqchip/irq-bcm2836.c -+++ b/drivers/irqchip/irq-bcm2836.c -@@ -167,7 +167,7 @@ __exception_irq_entry bcm2836_arm_irqchip_handle_irq(struct pt_regs *regs) - u32 stat; - - stat = readl_relaxed(intc.base + LOCAL_IRQ_PENDING0 + 4 * cpu); -- if (stat & 0x10) { -+ if (stat & BIT(LOCAL_IRQ_MAILBOX0)) { - #ifdef CONFIG_SMP - void __iomem *mailbox0 = (intc.base + - LOCAL_MAILBOX0_CLR0 + 16 * cpu); |