projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: OMAP2+: irq, AM33XX add missing register check
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
mach-omap2
/
irq.c
diff --git
a/arch/arm/mach-omap2/irq.c
b/arch/arm/mach-omap2/irq.c
index 3926f370448f91825fd07b4cdcaa0af09db74b2b..e022a869bff23894dd28f24274564026841e8608 100644
(file)
--- a/
arch/arm/mach-omap2/irq.c
+++ b/
arch/arm/mach-omap2/irq.c
@@
-233,7
+233,7
@@
static inline void omap_intc_handle_irq(void __iomem *base_addr, struct pt_regs
goto out;
irqnr = readl_relaxed(base_addr + 0xd8);
goto out;
irqnr = readl_relaxed(base_addr + 0xd8);
-#if
def CONFIG_SOC_TI81XX
+#if
IS_ENABLED(CONFIG_SOC_TI81XX) || IS_ENABLED(CONFIG_SOC_AM33XX)
if (irqnr)
goto out;
irqnr = readl_relaxed(base_addr + 0xf8);
if (irqnr)
goto out;
irqnr = readl_relaxed(base_addr + 0xf8);