diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-08-27 04:49:00 -0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-09-03 05:24:48 -0400 |
commit | 8a9e90a12816d0d26ccfb98cf6ac224a5a45d453 (patch) | |
tree | f66d10e7556a0df30ada3e9853bcf9ce2553e99c /arch/microblaze/kernel/irq.c | |
parent | 968674bd456a126dc22c0e34ba8231f3be258b04 (diff) |
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 @@ | |||
17 | #include <linux/seq_file.h> | 17 | #include <linux/seq_file.h> |
18 | #include <linux/kernel_stat.h> | 18 | #include <linux/kernel_stat.h> |
19 | #include <linux/irq.h> | 19 | #include <linux/irq.h> |
20 | #include <linux/irqchip.h> | ||
20 | #include <linux/of_irq.h> | 21 | #include <linux/of_irq.h> |
21 | 22 | ||
22 | static u32 concurrent_irq; | 23 | static u32 concurrent_irq; |
@@ -44,3 +45,9 @@ next_irq: | |||
44 | set_irq_regs(old_regs); | 45 | set_irq_regs(old_regs); |
45 | trace_hardirqs_on(); | 46 | trace_hardirqs_on(); |
46 | } | 47 | } |
48 | |||
49 | void __init init_IRQ(void) | ||
50 | { | ||
51 | /* process the entire interrupt tree in one go */ | ||
52 | irqchip_init(); | ||
53 | } | ||