vdso: Move ENABLE_COMPAT_VDSO from core to arm64
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 26 Aug 2025 06:17:06 +0000 (08:17 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 4 Sep 2025 09:23:49 +0000 (11:23 +0200)
commit7d298d25ce81251068bb4ea1d92813ec764a9fec
treea01735556c241707199f98329534a435d7e28bec
parent39f1ee1299c9bab9c87dc3087b9f82f346b8190b
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
arch/arm64/include/asm/vdso/compat_barrier.h
arch/arm64/include/asm/vdso/compat_gettimeofday.h
arch/arm64/include/asm/vdso/gettimeofday.h
arch/arm64/kernel/vdso32/Makefile
include/vdso/datapage.h