aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-08-26 08:17:06 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-09-04 11:23:49 +0200
commit7d298d25ce81251068bb4ea1d92813ec764a9fec (patch)
treea01735556c241707199f98329534a435d7e28bec /include
parentARM: VDSO: Remove cntvct_ok global variable (diff)
downloadlinux-7d298d25ce81251068bb4ea1d92813ec764a9fec.tar.gz
linux-7d298d25ce81251068bb4ea1d92813ec764a9fec.zip
vdso: Move ENABLE_COMPAT_VDSO from core to arm64
The ENABLE_COMAPT_VDSO symbol is only used by arm64 and only for the time-related functionality. There should be no new users, so it doesn't need to be in the generic vDSO code. Move the logic into arm64 architecture-specific code and replace the explicit define by the standard '#ifdef __aarch64__'. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/all/20250826-vdso-cleanups-v1-3-d9b65750e49f@linutronix.de
Diffstat (limited to 'include')
-rw-r--r--include/vdso/datapage.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/vdso/datapage.h b/include/vdso/datapage.h
index 02533038640e..0b1982f15de4 100644
--- a/include/vdso/datapage.h
+++ b/include/vdso/datapage.h
@@ -196,11 +196,7 @@ enum vdso_pages {
* - clock_gettime_fallback(): fallback for clock_gettime.
* - clock_getres_fallback(): fallback for clock_getres.
*/
-#ifdef ENABLE_COMPAT_VDSO
-#include <asm/vdso/compat_gettimeofday.h>
-#else
#include <asm/vdso/gettimeofday.h>
-#endif /* ENABLE_COMPAT_VDSO */
#else /* !__ASSEMBLY__ */