summaryrefslogtreecommitdiff
path: root/include/linux/vdso_datastore.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2026-04-27 10:49:13 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2026-04-27 10:49:13 +0200
commitcafac16b6207b88ad92fbba1169ae4f43865cb0d (patch)
treee101613185b5571b38c0cb1cd6ad91b45936a125 /include/linux/vdso_datastore.h
parent241061119a51423b84dca11e79ee2e178b6163e4 (diff)
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
Merge drm/drm-next into drm-misc-next
Getting fixes and updates from v7.1-rc1. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Diffstat (limited to 'include/linux/vdso_datastore.h')
-rw-r--r--include/linux/vdso_datastore.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/vdso_datastore.h b/include/linux/vdso_datastore.h
index a91fa24b06e0..0b530428db71 100644
--- a/include/linux/vdso_datastore.h
+++ b/include/linux/vdso_datastore.h
@@ -2,9 +2,15 @@
#ifndef _LINUX_VDSO_DATASTORE_H
#define _LINUX_VDSO_DATASTORE_H
+#ifdef CONFIG_HAVE_GENERIC_VDSO
#include <linux/mm_types.h>
extern const struct vm_special_mapping vdso_vvar_mapping;
struct vm_area_struct *vdso_install_vvar_mapping(struct mm_struct *mm, unsigned long addr);
+void __init vdso_setup_data_pages(void);
+#else /* !CONFIG_HAVE_GENERIC_VDSO */
+static inline void vdso_setup_data_pages(void) { }
+#endif /* CONFIG_HAVE_GENERIC_VDSO */
+
#endif /* _LINUX_VDSO_DATASTORE_H */