From: Christophe Leroy Date: Mon, 18 Aug 2025 09:26:44 +0000 (+0200) Subject: powerpc/vdso: Include asm/syscalls.h for sys_ni_syscall() X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=58f5382a482ba7313085de57767bb784f211b475;p=users%2Fhch%2Fmisc.git powerpc/vdso: Include asm/syscalls.h for sys_ni_syscall() Include asm/syscalls.h to get the correct prototype for sys_ni_syscall() Signed-off-by: Christophe Leroy Signed-off-by: Madhavan Srinivasan Link: https://patch.msgid.link/e2215a515ae0e21393c50e2f38791a6567cf1dec.1755509195.git.christophe.leroy@csgroup.eu --- diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index 219d67bcf747..ab7c4cc80943 100644 --- a/arch/powerpc/kernel/vdso.c +++ b/arch/powerpc/kernel/vdso.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include @@ -40,8 +41,6 @@ static_assert(__VDSO_PAGES == VDSO_NR_PAGES); extern char vdso32_start, vdso32_end; extern char vdso64_start, vdso64_end; -long sys_ni_syscall(void); - static int vdso_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma, unsigned long text_size) {