projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8c0ffa
)
irqchip: gic-v3: Convert to handle_domain_irq
author
Marc Zyngier
<marc.zyngier@arm.com>
Tue, 26 Aug 2014 10:03:33 +0000
(11:03 +0100)
committer
Jason Cooper
<jason@lakedaemon.net>
Wed, 3 Sep 2014 13:10:49 +0000
(13:10 +0000)
Use the new handle_domain_irq method to handle interrupts.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link:
https://lkml.kernel.org/r/1409047421-27649-19-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-gic-v3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/irqchip/irq-gic-v3.c
b/drivers/irqchip/irq-gic-v3.c
index 57eaa5a0b1e39fb4154946700bf83dcfddc4f9b1..9e3144975696454da49081924b2021f254eabecc 100644
(file)
--- a/
drivers/irqchip/irq-gic-v3.c
+++ b/
drivers/irqchip/irq-gic-v3.c
@@
-274,14
+274,13
@@
static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs
irqnr = gic_read_iar();
if (likely(irqnr > 15 && irqnr < 1020)) {
- u64 irq = irq_find_mapping(gic_data.domain, irqnr);
- if (likely(irq)) {
- handle_IRQ(irq, regs);
- continue;
+ int err;
+ err = handle_domain_irq(gic_data.domain, irqnr, regs);
+ if (err) {
+ WARN_ONCE(true, "Unexpected SPI received!\n");
+ gic_write_eoir(irqnr);
}
-
- WARN_ONCE(true, "Unexpected SPI received!\n");
- gic_write_eoir(irqnr);
+ continue;
}
if (irqnr < 16) {
gic_write_eoir(irqnr);