[PATCH 0/3] clocksource: Drop the inclusion of asm/clocksource.h
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Thu Dec 3 23:26:06 PST 2026
Only x86 requires asm/clocksource.h. As the generic vDSO infrastructure
includes this header all other architectures are force to provide it.
But on x86 all users of the header already include it explicitly,
making the inclusion from linux/clocksource.h unnecessary.
Drop the inclusion of asm/clocksource.h from linux/clocksource.h.
Also remove all the now unused architecture-specific files.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Thomas Weißschuh (3):
MIPS: vdso: Drop the include of asm/clocksource.h
x86/vdso: Drop the include of asm/vdso/clocksource.h
clocksource: Drop the inclusion of asm/clocksource.h
arch/arm/include/asm/clocksource.h | 7 -------
arch/arm64/include/asm/clocksource.h | 7 -------
arch/csky/include/asm/clocksource.h | 8 --------
arch/loongarch/include/asm/clocksource.h | 12 ------------
arch/mips/include/asm/clocksource.h | 11 -----------
arch/mips/include/asm/vdso/gettimeofday.h | 1 -
arch/powerpc/include/asm/clocksource.h | 7 -------
arch/riscv/include/asm/clocksource.h | 7 -------
arch/s390/include/asm/clocksource.h | 7 -------
arch/sparc/include/asm/clocksource.h | 8 --------
arch/x86/include/asm/clocksource.h | 2 --
include/linux/clocksource.h | 4 ----
12 files changed, 81 deletions(-)
---
base-commit: 13ce64b722d15fc70ba54dd5d4bafc99f2a1bc11
change-id: 20261203-vdso-asm-clocksource-066f9c12d20d
Best regards,
--
Thomas Weißschuh <thomas.weissschuh at linutronix.de>
More information about the linux-arm-kernel
mailing list