Skip to content

Commit

Permalink
parisc: Fix missing prototype for 'toc_intr' warning in toc.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Helge Deller committed Jan 20, 2022
1 parent 5f7ee6e commit 30f3089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/parisc/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions arch/parisc/kernel/toc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 30f3089

Please sign in to comment.