diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-08-27 10:49:00 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-09-03 11:24:48 +0200 |
commit | 8a9e90a12816d0d26ccfb98cf6ac224a5a45d453 (patch) | |
tree | f66d10e7556a0df30ada3e9853bcf9ce2553e99c /arch/microblaze/kernel/irq.c | |
parent | 968674bd456a126dc22c0e34ba8231f3be258b04 (diff) | |
download | linux-8a9e90a12816d0d26ccfb98cf6ac224a5a45d453.tar.bz2 |
microblaze: intc: Using irqchip
- Move init_IRQ to irq.c
- Use IRQCHIP_DECLARE macro
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/irq.c')
-rw-r--r-- | arch/microblaze/kernel/irq.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/irq.c b/arch/microblaze/kernel/irq.c index b205b90ed110..11e24de91aa4 100644 --- a/arch/microblaze/kernel/irq.c +++ b/arch/microblaze/kernel/irq.c @@ -17,6 +17,7 @@ #include <linux/seq_file.h> #include <linux/kernel_stat.h> #include <linux/irq.h> +#include <linux/irqchip.h> #include <linux/of_irq.h> static u32 concurrent_irq; @@ -44,3 +45,9 @@ next_irq: set_irq_regs(old_regs); trace_hardirqs_on(); } + +void __init init_IRQ(void) +{ + /* process the entire interrupt tree in one go */ + irqchip_init(); +} |