summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-05-19 08:26:16 +0200
committerThomas Gleixner <tglx@kernel.org>2026-06-02 21:41:23 +0200
commitbf8f968a63159661acc20254ccdf0dc3c9f1bac2 (patch)
tree5b9f29abed84591a882edcb8cc743b56a29323ff /include/linux
parent91d2a1a916a96bc0ed542704c4e20a84ff2cf554 (diff)
downloadlwn-bf8f968a63159661acc20254ccdf0dc3c9f1bac2.tar.gz
lwn-bf8f968a63159661acc20254ccdf0dc3c9f1bac2.zip
vdso/vsyscall: Gate update_vsyscall() behind CONFIG_GENERIC_GETTIMEOFDAY
Both the compilation of kernel/time/vsyscall.c, which contains the real definition of update_vsyscall() and the other vDSO definitions in timekeeper_internal.h use CONFIG_GENERIC_GETTIMEOFDAY and not CONFIG_GENERIC_TIME_VSYSCALL. Align the code to use a single Kconfig symbol. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260519-vdso-generic_time_vsyscal-v1-2-5c2a5905d5f5@linutronix.de
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/timekeeper_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_internal.h
index e36d11e33e0c..4486dfd5d0de 100644
--- a/include/linux/timekeeper_internal.h
+++ b/include/linux/timekeeper_internal.h
@@ -190,7 +190,7 @@ struct timekeeper {
s32 tai_offset;
};
-#ifdef CONFIG_GENERIC_TIME_VSYSCALL
+#ifdef CONFIG_GENERIC_GETTIMEOFDAY
extern void update_vsyscall(struct timekeeper *tk);
extern void update_vsyscall_tz(void);