riscv: vdso: include vdso/vsyscall.h for vdso_data
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 16 Jun 2023 11:43:57 +0000 (12:43 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 4 Jul 2023 14:54:41 +0000 (07:54 -0700)
commit54cdede08f2f4414629001b124110d656161080a
treeba05b3e50701d353e4ecdd8609323ff7878edab1
parent5c93c4c72fbc69f0f1cdf43c9402b923314e67c8
riscv: vdso: include vdso/vsyscall.h for vdso_data

Add include of <vdso/vsyscall.h> 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 <ben.dooks@codethink.co.uk>
Link: https://lore.kernel.org/r/20230616114357.159601-1-ben.dooks@codethink.co.uk
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/vdso.c