Skip to content

Commit

Permalink
MIPS: Add common plat_irq_dispatch declaration
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Linux MIPS <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/7539/
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
rsa9000 authored and ralfbaechle committed Aug 19, 2014
1 parent b3804d8 commit 950e97c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/mips/cavium-octeon/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ static uint64_t crashk_size, crashk_base;
static int octeon_uart;

extern asmlinkage void handle_int(void);
extern asmlinkage void plat_irq_dispatch(void);

/**
* Return non zero if we are currently running in the Octeon simulator
Expand Down
2 changes: 2 additions & 0 deletions arch/mips/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 950e97c

Please sign in to comment.