From 6d03a247468059b0e59c821ef39e6762d4d6fc30 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Jun 2024 23:00:51 +0200 Subject: Merging upstream version 6.9.2. Signed-off-by: Daniel Baumann --- include/vdso/datapage.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/vdso/datapage.h') diff --git a/include/vdso/datapage.h b/include/vdso/datapage.h index 73eb622e76..c71ddb6d46 100644 --- a/include/vdso/datapage.h +++ b/include/vdso/datapage.h @@ -121,6 +121,14 @@ struct vdso_data { extern struct vdso_data _vdso_data[CS_BASES] __attribute__((visibility("hidden"))); extern struct vdso_data _timens_data[CS_BASES] __attribute__((visibility("hidden"))); +/** + * union vdso_data_store - Generic vDSO data page + */ +union vdso_data_store { + struct vdso_data data[CS_BASES]; + u8 page[1U << CONFIG_PAGE_SHIFT]; +}; + /* * The generic vDSO implementation requires that gettimeofday.h * provides: -- cgit v1.2.3