diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2014-08-26 06:03:41 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-09-03 09:11:02 -0400 |
commit | 087fe000f086c933f831044cbd0e69b4e140f38c (patch) | |
tree | 72e9e7aa8d347185907994a3d7c25f221da22ada /arch/openrisc | |
parent | c59e1ef874e699bb37c8ed20b70113e1e8f45f52 (diff) |
openrisc: Get rid of handle_IRQ
The openrisc irqchip driver has been converted to handle_domain_irq,
making it possible to remove the handle_IRQ stub entierely.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Link: https://lkml.kernel.org/r/1409047421-27649-27-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/openrisc')
-rw-r--r-- | arch/openrisc/include/asm/irq.h | 1 | ||||
-rw-r--r-- | arch/openrisc/kernel/irq.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/openrisc/include/asm/irq.h b/arch/openrisc/include/asm/irq.h index b84634cc95eb..d9eee0a2b7b4 100644 --- a/arch/openrisc/include/asm/irq.h +++ b/arch/openrisc/include/asm/irq.h | |||
@@ -24,7 +24,6 @@ | |||
24 | 24 | ||
25 | #define NO_IRQ (-1) | 25 | #define NO_IRQ (-1) |
26 | 26 | ||
27 | void handle_IRQ(unsigned int, struct pt_regs *); | ||
28 | extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); | 27 | extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); |
29 | 28 | ||
30 | #endif /* __ASM_OPENRISC_IRQ_H__ */ | 29 | #endif /* __ASM_OPENRISC_IRQ_H__ */ |
diff --git a/arch/openrisc/kernel/irq.c b/arch/openrisc/kernel/irq.c index e9aaf280b7d9..35e478a93116 100644 --- a/arch/openrisc/kernel/irq.c +++ b/arch/openrisc/kernel/irq.c | |||
@@ -48,11 +48,6 @@ void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) | |||
48 | handle_arch_irq = handle_irq; | 48 | handle_arch_irq = handle_irq; |
49 | } | 49 | } |
50 | 50 | ||
51 | void handle_IRQ(unsigned int irq, struct pt_regs *regs) | ||
52 | { | ||
53 | __handle_domain_irq(NULL, irq, false, regs); | ||
54 | } | ||
55 | |||
56 | void __irq_entry do_IRQ(struct pt_regs *regs) | 51 | void __irq_entry do_IRQ(struct pt_regs *regs) |
57 | { | 52 | { |
58 | handle_arch_irq(regs); | 53 | handle_arch_irq(regs); |