parisc: Fix missing prototype for 'toc_intr' warning in toc.c
authorHelge Deller <deller@gmx.de>
Mon, 17 Jan 2022 09:10:10 +0000 (10:10 +0100)
committerHelge Deller <deller@gmx.de>
Thu, 20 Jan 2022 19:39:19 +0000 (20:39 +0100)
Fix a missing prototype warning noticed by the kernel test robot.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/processor.h
arch/parisc/kernel/toc.c

index b669f4b..3a3d054 100644 (file)
@@ -289,6 +289,7 @@ extern int _parisc_requires_coherency;
 
 extern int running_on_qemu;
 
+extern void __noreturn toc_intr(struct pt_regs *regs);
 extern void toc_handler(void);
 extern unsigned int toc_handler_size;
 extern unsigned int toc_handler_csum;
index fa5a10e..e4b48d0 100644 (file)
@@ -10,6 +10,7 @@
 #include <asm/pdc.h>
 #include <asm/pdc_chassis.h>
 #include <asm/ldcw.h>
+#include <asm/processor.h>
 
 static unsigned int __aligned(16) toc_lock = 1;
 DEFINE_PER_CPU_PAGE_ALIGNED(char [16384], toc_stack) __visible;