[tip: timers/vdso] riscv/hwprobe: Include vdso/datapage.h

From: tip-bot2 for Thomas Weißschuh

Date: Thu Oct 15 2026 - 12:32:32 EST


The following commit has been merged into the timers/vdso branch of tip:

Commit-ID: 0d10af5db4818ec1b90d1cf47a1d383598fc4129
Gitweb: https://git.kernel.org/tip/0d10af5db4818ec1b90d1cf47a1d383598fc4129
Author: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
AuthorDate: Wed, 09 Sep 2026 10:51:25 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Thu, 15 Oct 2026 17:33:20 +02:00

riscv/hwprobe: Include vdso/datapage.h

The symbol vdso_k_arch_data is provided by vdso/datapage.h,
which is currently not included explicitly. An upcoming refactoring will
remove the currently used transitive inclusion.

Add an explicit inclusion.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Link: https://patch.msgid.link/20260909-vdso-asm-generic-vsyscall-h-v1-12-63ae856cc659@xxxxxxxxxxxxx
---
arch/riscv/kernel/sys_hwprobe.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/riscv/kernel/sys_hwprobe.c b/arch/riscv/kernel/sys_hwprobe.c
index 7818e1d..5c440ec 100644
--- a/arch/riscv/kernel/sys_hwprobe.c
+++ b/arch/riscv/kernel/sys_hwprobe.c
@@ -18,6 +18,7 @@
#include <asm/vendor_extensions/mips_hwprobe.h>
#include <asm/vendor_extensions/sifive_hwprobe.h>
#include <asm/vendor_extensions/thead_hwprobe.h>
+#include <vdso/datapage.h>
#include <vdso/vsyscall.h>