summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/irq.h
diff options
context:
space:
mode:
authorSergey Ryazanov <ryazanov.s.a@gmail.com>2014-08-14 02:09:36 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-08-19 15:30:45 +0400
commit950e97ca50942efb1066785ce3a40836c93306e2 (patch)
treec1a98ba8f5f68992d8db1a895abdd48c26834026 /arch/mips/include/asm/irq.h
parentb3804d8da18f4649c3fb1755078312cdf8f40ffc (diff)
downloadlinux-950e97ca50942efb1066785ce3a40836c93306e2.tar.xz
MIPS: Add common plat_irq_dispatch declaration
Add common declaration to get rid of following sparse warning: "symbol 'plat_irq_dispatch' was not declared. Should it be static?" Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Cc: Linux MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/7539/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/irq.h')
-rw-r--r--arch/mips/include/asm/irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include/asm/irq.h
index ae1f7b24dd1a..39f07aec640c 100644
--- a/arch/mips/include/asm/irq.h
+++ b/arch/mips/include/asm/irq.h
@@ -26,6 +26,8 @@ static inline int irq_canonicalize(int irq)
#define irq_canonicalize(irq) (irq) /* Sane hardware, sane code ... */
#endif
+asmlinkage void plat_irq_dispatch(void);
+
extern void do_IRQ(unsigned int irq);
extern void arch_init_irq(void);