Skip to content

Commit 369d135

Browse files
geertuglaubitz
authored andcommitted
sh: syscall: Add missing forward declaration for sys_cacheflush()
arch/sh/kernel/sys_sh.c:58:16: warning: no previous prototype for ‘sys_cacheflush’ [-Wmissing-prototypes] Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/b1c218986fb77d78303626b43c97925809045018.1709326528.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
1 parent dd1e826 commit 369d135

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/sh/include/asm/syscalls.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ asmlinkage int old_mmap(unsigned long addr, unsigned long len,
88
asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
99
unsigned long prot, unsigned long flags,
1010
unsigned long fd, unsigned long pgoff);
11+
asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op);
1112

1213
#include <asm/syscalls_32.h>
1314

0 commit comments

Comments
 (0)