Skip to content

Commit 4052a37

Browse files
rddunlapjcmvbkbc
authored andcommitted
xtensa: irq: include <asm/traps.h>
Use <asm/traps.h> to provide the function prototype for do_IRQ() to prevent a build warning: arch/xtensa/kernel/irq.c:34:17: warning: no previous prototype for 'do_IRQ' [-Wmissing-prototypes] 34 | asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs) Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Chris Zankel <chris@zankel.net> Cc: Max Filippov <jcmvbkbc@gmail.com> Message-Id: <20230920052139.10570-4-rdunlap@infradead.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
1 parent 84e34a9 commit 4052a37

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/xtensa/kernel/irq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <asm/mxregs.h>
2929
#include <linux/uaccess.h>
3030
#include <asm/platform.h>
31+
#include <asm/traps.h>
3132

3233
DECLARE_PER_CPU(unsigned long, nmi_count);
3334

0 commit comments

Comments
 (0)