diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-11-06 14:20:13 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-11-23 13:32:32 +0300 |
commit | 23f8c1823bd4041064ab557283dbb37657549c5b (patch) | |
tree | bb51b2a565f9cfe6b89c9d6c64b2132716517af7 /arch/csky/include/asm/traps.h | |
parent | 1d6571a8794ba276a078a8ca9d84ccc157f8b6c3 (diff) | |
download | linux-23f8c1823bd4041064ab557283dbb37657549c5b.tar.xz |
arch: add do_page_fault prototypes
do_page_fault() is missing a declaration on a couple of architectures:
arch/alpha/mm/fault.c:85:1: error: no previous prototype for 'do_page_fault' [-Werror=missing-prototypes]
arch/csky/mm/fault.c:187:17: error: no previous prototype for 'do_page_fault' [-Werror=missing-prototypes]
arch/mips/mm/fault.c:323:17: error: no previous prototype for 'do_page_fault' [-Werror=missing-prototypes]
arch/nios2/mm/fault.c:43:17: error: no previous prototype for 'do_page_fault' [-Werror=missing-prototypes]
arch/sh/mm/fault.c:389:27: error: no previous prototype for 'do_page_fault' [-Werror=missing-prototypes]
Since the calling conventions are architecture specific here,
add separate prototypes for each one.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/include/asm/traps.h')
-rw-r--r-- | arch/csky/include/asm/traps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/csky/include/asm/traps.h b/arch/csky/include/asm/traps.h index 495ce318d569..6bbbbe43165f 100644 --- a/arch/csky/include/asm/traps.h +++ b/arch/csky/include/asm/traps.h @@ -55,4 +55,6 @@ asmlinkage void trap_c(struct pt_regs *regs); asmlinkage void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags); +asmlinkage void do_page_fault(struct pt_regs *regs); + #endif /* __ASM_CSKY_TRAPS_H */ |