Skip to content

Commit 54cdede

Browse files
bjdooks-ctpalmer-dabbelt
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 5c93c4c commit 54cdede

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/kernel/vdso.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <asm/vdso.h>
1616
#include <linux/time_namespace.h>
1717
#include <vdso/datapage.h>
18+
#include <vdso/vsyscall.h>
1819

1920
enum vvar_pages {
2021
VVAR_DATA_PAGE_OFFSET,

0 commit comments

Comments
 (0)