diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-06-01 13:15:21 +0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-11-09 01:35:48 +0400 |
commit | edb347256c44366888debb4f9e8477ac700a9026 (patch) | |
tree | ba8a08d33f17d5679e9cbae45f73cca85c2f61c6 /arch/m68k/include/asm/irq.h | |
parent | 40a72c8f711bdf8ae3e4f945261ced5432dcac4d (diff) | |
download | linux-edb347256c44366888debb4f9e8477ac700a9026.tar.xz |
m68k/irq: Add m68k_setup_irq_controller()
This is a wrapper around m68k_setup_irq_chip() that discards its dummy
second parameter, to ease the future transition to genirq.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/irq.h')
-rw-r--r-- | arch/m68k/include/asm/irq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/irq.h b/arch/m68k/include/asm/irq.h index 423f064955f2..d0b7efd1f1e2 100644 --- a/arch/m68k/include/asm/irq.h +++ b/arch/m68k/include/asm/irq.h @@ -115,6 +115,8 @@ extern void m68k_setup_auto_interrupt(void (*handler)(unsigned int, struct pt_re extern void m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt, void (*handler)(unsigned int, struct pt_regs *)); extern void m68k_setup_irq_chip(struct irq_chip *, unsigned int, unsigned int); +#define m68k_setup_irq_controller(chip, dummy, irq, cnt) \ + m68k_setup_irq_chip((chip), (irq), (cnt)) asmlinkage void m68k_handle_int(unsigned int); asmlinkage void __m68k_handle_int(unsigned int, struct pt_regs *); |