Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/b1c218986fb77d78303626b43c97925809045018.1709326528.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

authored by

Geert Uytterhoeven and committed by
John Paul Adrian Glaubitz
369d1357 dd1e826d

+1
+1
arch/sh/include/asm/syscalls.h
··· 8 8 asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, 9 9 unsigned long prot, unsigned long flags, 10 10 unsigned long fd, unsigned long pgoff); 11 + asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op); 11 12 12 13 #include <asm/syscalls_32.h> 13 14