summaryrefslogtreecommitdiffstats
path: root/include/vdso/datapage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/vdso/datapage.h')
-rw-r--r--include/vdso/datapage.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vdso/datapage.h b/include/vdso/datapage.h
index 73eb622e7..c71ddb6d4 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: