summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-09-09 10:51:14 +0200
committerThomas Gleixner <tglx@kernel.org>2026-10-15 17:33:18 +0200
commit35f0a96848a730495ff310645387578ca68934cd (patch)
treebc4e9e14a5d8db7e952346525b1c8e9c2eff3660 /include/linux
parent72d3fcf802c45d00b300f25b848a93c3a2bd7c7e (diff)
downloadlinux-35f0a96848a730495ff310645387578ca68934cd.tar.gz
linux-35f0a96848a730495ff310645387578ca68934cd.zip
vdso: Move the kernel-side time update helpers to a new header
The vdso/ header namespace is meant for symbols which are usable from vDSO userspace code. However vdso_update_begin() and vdso_update_end() are only usable from the kernel. Move them into a new header in the linux/ namespace. Also rename them to make clear that they are only for time-related data. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260909-vdso-asm-generic-vsyscall-h-v1-1-63ae856cc659@linutronix.de
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/vdso_time.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/vdso_time.h b/include/linux/vdso_time.h
new file mode 100644
index 000000000000..6d81ee3a3c9c
--- /dev/null
+++ b/include/linux/vdso_time.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LINUX_VDSO_TIME_H
+#define _LINUX_VDSO_TIME_H
+
+unsigned long vdso_time_update_begin(void);
+void vdso_time_update_end(unsigned long flags);
+
+#endif /* _LINUX_VDSO_TIME_H */