diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2026-02-27 07:44:38 +0100 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-03-11 15:22:32 +0100 |
| commit | 750d8cc84901757d9e5fe96207f5aa6b3e2acf92 (patch) | |
| tree | 88fe4440c95731aceb8f33d95a7647aabd407c57 /include/vdso | |
| parent | 8bd49acb4e81d2859f66a30e8edfd984f91c6c9c (diff) | |
| download | lwn-750d8cc84901757d9e5fe96207f5aa6b3e2acf92.tar.gz lwn-750d8cc84901757d9e5fe96207f5aa6b3e2acf92.zip | |
vdso/datapage: Remove inclusion of gettimeofday.h
vdso/datapage.h is useful without pulling in the architecture-specific
gettimeofday() helpers.
Move the include to the only users which needs it.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-12-35d60acf7410@linutronix.de
Diffstat (limited to 'include/vdso')
| -rw-r--r-- | include/vdso/datapage.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/vdso/datapage.h b/include/vdso/datapage.h index 07c2e086d8f4..339a34e88c73 100644 --- a/include/vdso/datapage.h +++ b/include/vdso/datapage.h @@ -184,17 +184,6 @@ enum vdso_pages { VDSO_NR_PAGES }; -/* - * The generic vDSO implementation requires that gettimeofday.h - * provides: - * - __arch_get_hw_counter(): to get the hw counter based on the - * clock_mode. - * - gettimeofday_fallback(): fallback for gettimeofday. - * - clock_gettime_fallback(): fallback for clock_gettime. - * - clock_getres_fallback(): fallback for clock_getres. - */ -#include <asm/vdso/gettimeofday.h> - #else /* !__ASSEMBLY__ */ #ifdef CONFIG_VDSO_GETRANDOM |
