Skip to content

Commit 30f3089

Browse files
committed
parisc: Fix missing prototype for 'toc_intr' warning in toc.c
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>
1 parent 5f7ee6e commit 30f3089

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/parisc/include/asm/processor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ extern int _parisc_requires_coherency;
289289

290290
extern int running_on_qemu;
291291

292+
extern void __noreturn toc_intr(struct pt_regs *regs);
292293
extern void toc_handler(void);
293294
extern unsigned int toc_handler_size;
294295
extern unsigned int toc_handler_csum;

arch/parisc/kernel/toc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <asm/pdc.h>
1111
#include <asm/pdc_chassis.h>
1212
#include <asm/ldcw.h>
13+
#include <asm/processor.h>
1314

1415
static unsigned int __aligned(16) toc_lock = 1;
1516
DEFINE_PER_CPU_PAGE_ALIGNED(char [16384], toc_stack) __visible;

0 commit comments

Comments
 (0)