mirror-linux/arch/arm/include/asm/vdso
Rasmus Villemoes 39f1ee1299 ARM: VDSO: Remove cntvct_ok global variable
The cntvct_ok variable has not had any external user since commit
c7a18100bd ("lib/vdso: Avoid highres update if clocksource is not
VDSO capable").

It also only has one user in vdso.c, once during init, so rather than
having the caller of patch_vdso() initialize cntvct_ok, just call
cntvct_functional() directly and avoid the global variable entirely.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lore.kernel.org/all/20250826-vdso-cleanups-v1-2-d9b65750e49f@linutronix.de
2025-09-04 11:23:49 +02:00
..
clocksource.h arm: Introduce asm/vdso/clocksource.h 2020-03-21 15:23:54 +01:00
cp15.h arm: vdso: Enable arm to use common headers 2020-03-21 15:24:03 +01:00
gettimeofday.h arm: vdso: Switch to generic storage implementation 2025-02-21 09:54:02 +01:00
processor.h arm: vdso: Enable arm to use common headers 2020-03-21 15:24:03 +01:00
vsyscall.h ARM: VDSO: Remove cntvct_ok global variable 2025-09-04 11:23:49 +02:00