diff options
| author | Marc Zyngier <marc.zyngier@arm.com> | 2014-08-26 06:03:40 -0400 |
|---|---|---|
| committer | Jason Cooper <jason@lakedaemon.net> | 2014-09-03 09:11:00 -0400 |
| commit | c59e1ef874e699bb37c8ed20b70113e1e8f45f52 (patch) | |
| tree | a70f301ccd74b16a0107ea9987731687c2051bf6 | |
| parent | f978999f60966076f3f43ed1894b54507c8ddfc9 (diff) | |
arm64: Get rid of handle_IRQ
All the arm64 irqchip drivers have 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: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lkml.kernel.org/r/1409047421-27649-26-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
| -rw-r--r-- | arch/arm64/include/asm/hardirq.h | 2 | ||||
| -rw-r--r-- | arch/arm64/kernel/irq.c | 11 |
2 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm64/include/asm/hardirq.h b/arch/arm64/include/asm/hardirq.h index 0be67821f9ce..e8a3268a891c 100644 --- a/arch/arm64/include/asm/hardirq.h +++ b/arch/arm64/include/asm/hardirq.h | |||
| @@ -47,8 +47,6 @@ static inline void ack_bad_irq(unsigned int irq) | |||
| 47 | irq_err_count++; | 47 | irq_err_count++; |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | extern void handle_IRQ(unsigned int, struct pt_regs *); | ||
| 51 | |||
| 52 | /* | 50 | /* |
| 53 | * No arch-specific IRQ flags. | 51 | * No arch-specific IRQ flags. |
| 54 | */ | 52 | */ |
diff --git a/arch/arm64/kernel/irq.c b/arch/arm64/kernel/irq.c index 2c0e2a744723..67ca197277ee 100644 --- a/arch/arm64/kernel/irq.c +++ b/arch/arm64/kernel/irq.c | |||
| @@ -40,17 +40,6 @@ int arch_show_interrupts(struct seq_file *p, int prec) | |||
| 40 | return 0; | 40 | return 0; |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | /* | ||
| 44 | * handle_IRQ handles all hardware IRQ's. Decoded IRQs should | ||
| 45 | * not come via this function. Instead, they should provide their | ||
| 46 | * own 'handler'. Used by platform code implementing C-based 1st | ||
| 47 | * level decoding. | ||
| 48 | */ | ||
| 49 | void handle_IRQ(unsigned int irq, struct pt_regs *regs) | ||
| 50 | { | ||
| 51 | __handle_domain_irq(NULL, irq, false, regs); | ||
| 52 | } | ||
| 53 | |||
| 54 | void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) | 43 | void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) |
| 55 | { | 44 | { |
| 56 | if (handle_arch_irq) | 45 | if (handle_arch_irq) |
