summaryrefslogtreecommitdiff
path: root/arch/mips/include
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@orcam.me.uk>2026-05-04 21:13:55 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2026-05-26 16:35:36 +0200
commita032121b273ec7bcad15812e624d28f0eece6b3f (patch)
treec9476f1649e57a699054807d41498a7e3d5c848b /arch/mips/include
parent8e0780d30b1b51248e42895b7acc7a20f147b40b (diff)
downloadlwn-a032121b273ec7bcad15812e624d28f0eece6b3f.tar.gz
lwn-a032121b273ec7bcad15812e624d28f0eece6b3f.zip
MIPS: Make do_IRQ() available for assembly callers
As from commit 8f99a1626535 ("MIPS: Tracing: Add IRQENTRY_EXIT section for MIPS") do_IRQ() is not a macro anymore and can be invoked directly from assembly code again, however its `asmlinkage' annotation has never been brought back from the previous removal of the function with commit 187933f23679 ("[MIPS] do_IRQ cleanup"). Since calling the function directly from assembly code has a performance advantage, add the annotation back so that the DEC platform can make use of this again. Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include/asm/irq.h
index 3a848e7e69f7..ee5f5245c04a 100644
--- a/arch/mips/include/asm/irq.h
+++ b/arch/mips/include/asm/irq.h
@@ -54,7 +54,7 @@ static inline int irq_canonicalize(int irq)
asmlinkage void plat_irq_dispatch(void);
-extern void do_IRQ(unsigned int irq);
+asmlinkage void do_IRQ(unsigned int irq);
struct irq_domain;
extern void do_domain_IRQ(struct irq_domain *domain, unsigned int irq);