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>
This commit is contained in:
parent
84e34a99fd
commit
4052a37aa8
@ -28,6 +28,7 @@
|
|||||||
#include <asm/mxregs.h>
|
#include <asm/mxregs.h>
|
||||||
#include <linux/uaccess.h>
|
#include <linux/uaccess.h>
|
||||||
#include <asm/platform.h>
|
#include <asm/platform.h>
|
||||||
|
#include <asm/traps.h>
|
||||||
|
|
||||||
DECLARE_PER_CPU(unsigned long, nmi_count);
|
DECLARE_PER_CPU(unsigned long, nmi_count);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user