From: Ben Dooks Date: Fri, 16 Jun 2023 11:43:57 +0000 (+0100) Subject: riscv: vdso: include vdso/vsyscall.h for vdso_data X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=54cdede08f2f4414629001b124110d656161080a;p=linux.git riscv: vdso: include vdso/vsyscall.h for vdso_data Add include of to pull in the defition of vdso_data to remove the following sparse warning: arch/riscv/kernel/vdso.c:39:18: warning: symbol 'vdso_data' was not declared. Should it be static? Signed-off-by: Ben Dooks Link: https://lore.kernel.org/r/20230616114357.159601-1-ben.dooks@codethink.co.uk Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/kernel/vdso.c b/arch/riscv/kernel/vdso.c index 9a68e7eaae4d4..2cf76218a5bd0 100644 --- a/arch/riscv/kernel/vdso.c +++ b/arch/riscv/kernel/vdso.c @@ -15,6 +15,7 @@ #include #include #include +#include enum vvar_pages { VVAR_DATA_PAGE_OFFSET,