aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze/include
diff options
context:
space:
mode:
authorGravatar Michal Simek <michal.simek@xilinx.com> 2020-03-17 18:25:59 +0530
committerGravatar Marc Zyngier <maz@kernel.org> 2020-03-22 11:52:53 +0000
commita0789993bf8266e62fea6b4613945ba081c71e7d (patch)
treebf2f87488c01b9f88f707a75776356c50809dfb2 /arch/microblaze/include
parentirqchip/xilinx: Fill error code when irq domain registration fails (diff)
downloadlinux-a0789993bf8266e62fea6b4613945ba081c71e7d.tar.gz
linux-a0789993bf8266e62fea6b4613945ba081c71e7d.tar.bz2
linux-a0789993bf8266e62fea6b4613945ba081c71e7d.zip
irqchip/xilinx: Enable generic irq multi handler
Register default arch handler via driver instead of directly pointing to xilinx intc controller. This patch makes architecture code more generic. Driver calls generic domain specific irq handler which does the most of things self. Also get rid of concurrent_irq counting which hasn't been exported anywhere. Based on this loop was also optimized by using do/while loop instead of goto loop. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Stefan Asserhall <stefan.asserhall@xilinx.com> Link: https://lore.kernel.org/r/20200317125600.15913-4-mubin.usman.sayyed@xilinx.com
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r--arch/microblaze/include/asm/irq.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/microblaze/include/asm/irq.h b/arch/microblaze/include/asm/irq.h
index eac2fb4b3fb9..5166f0893e2b 100644
--- a/arch/microblaze/include/asm/irq.h
+++ b/arch/microblaze/include/asm/irq.h
@@ -14,7 +14,4 @@
struct pt_regs;
extern void do_IRQ(struct pt_regs *regs);
-/* should be defined in each interrupt controller driver */
-extern unsigned int xintc_get_irq(void);
-
#endif /* _ASM_MICROBLAZE_IRQ_H */