Skip to content

Commit 7b338f6

Browse files
t-8chKAGA-KOKO
authored andcommitted
vdso: Drop Kconfig GENERIC_VDSO_DATA_STORE
All users of the generic vDSO library also use the generic vDSO datastore. Remove the now unnecessary Kconfig symbol. 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-9-d9b65750e49f@linutronix.de
1 parent bb5bc7b commit 7b338f6

14 files changed

Lines changed: 3 additions & 25 deletions

File tree

arch/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ config HAVE_SPARSE_SYSCALL_NR
16091609
related optimizations for a given architecture.
16101610

16111611
config ARCH_HAS_VDSO_ARCH_DATA
1612-
depends on GENERIC_VDSO_DATA_STORE
1612+
depends on HAVE_GENERIC_VDSO
16131613
bool
16141614

16151615
config ARCH_HAS_VDSO_TIME_DATA

arch/arm/mm/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,6 @@ config VDSO
927927
select HAVE_GENERIC_VDSO
928928
select GENERIC_TIME_VSYSCALL
929929
select GENERIC_GETTIMEOFDAY
930-
select GENERIC_VDSO_DATA_STORE
931930
help
932931
Place in the process address space an ELF shared object
933932
providing fast implementations of gettimeofday and

arch/arm64/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ config ARM64
162162
select GENERIC_SMP_IDLE_THREAD
163163
select GENERIC_TIME_VSYSCALL
164164
select GENERIC_GETTIMEOFDAY
165-
select GENERIC_VDSO_DATA_STORE
166165
select GENERIC_VDSO_TIME_NS
167166
select HARDIRQS_SW_RESEND
168167
select HAS_IOPORT

arch/loongarch/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ config LOONGARCH
108108
select GENERIC_SCHED_CLOCK
109109
select GENERIC_SMP_IDLE_THREAD
110110
select GENERIC_TIME_VSYSCALL
111-
select GENERIC_VDSO_DATA_STORE
112111
select GENERIC_VDSO_TIME_NS
113112
select GPIOLIB
114113
select HAS_IOPORT

arch/mips/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ config MIPS
5151
select GENERIC_SMP_IDLE_THREAD
5252
select GENERIC_IDLE_POLL_SETUP
5353
select GENERIC_TIME_VSYSCALL
54-
select GENERIC_VDSO_DATA_STORE
5554
select GUP_GET_PXX_LOW_HIGH if CPU_MIPS32 && PHYS_ADDR_T_64BIT
5655
select HAS_IOPORT if !NO_IOPORT_MAP || ISA
5756
select HAVE_ARCH_COMPILER_H

arch/powerpc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ config PPC
207207
select GENERIC_PCI_IOMAP if PCI
208208
select GENERIC_SMP_IDLE_THREAD
209209
select GENERIC_TIME_VSYSCALL
210-
select GENERIC_VDSO_DATA_STORE
211210
select GENERIC_VDSO_TIME_NS
212211
select HAS_IOPORT if PCI
213212
select HAVE_ARCH_AUDITSYSCALL

arch/riscv/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ config RISCV
121121
select GENERIC_SCHED_CLOCK
122122
select GENERIC_SMP_IDLE_THREAD
123123
select GENERIC_TIME_VSYSCALL if GENERIC_GETTIMEOFDAY
124-
select GENERIC_VDSO_DATA_STORE if HAVE_GENERIC_VDSO
125124
select GENERIC_VDSO_TIME_NS if GENERIC_GETTIMEOFDAY
126125
select HARDIRQS_SW_RESEND
127126
select HAS_IOPORT if MMU

arch/s390/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ config S390
167167
select GENERIC_GETTIMEOFDAY
168168
select GENERIC_SMP_IDLE_THREAD
169169
select GENERIC_TIME_VSYSCALL
170-
select GENERIC_VDSO_DATA_STORE
171170
select GENERIC_VDSO_TIME_NS
172171
select GENERIC_IOREMAP if PCI
173172
select HAVE_ALIGNED_STRUCT_PAGE

arch/x86/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ config X86
181181
select GENERIC_SMP_IDLE_THREAD
182182
select GENERIC_TIME_VSYSCALL
183183
select GENERIC_GETTIMEOFDAY
184-
select GENERIC_VDSO_DATA_STORE
185184
select GENERIC_VDSO_TIME_NS
186185
select GENERIC_VDSO_OVERFLOW_PROTECT
187186
select GUP_GET_PXX_LOW_HIGH if X86_PAE

include/asm-generic/vdso/vsyscall.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
#ifndef __ASSEMBLY__
66

7-
#ifdef CONFIG_GENERIC_VDSO_DATA_STORE
8-
97
#ifndef __arch_get_vdso_u_time_data
108
static __always_inline const struct vdso_time_data *__arch_get_vdso_u_time_data(void)
119
{
@@ -20,8 +18,6 @@ static __always_inline const struct vdso_rng_data *__arch_get_vdso_u_rng_data(vo
2018
}
2119
#endif
2220

23-
#endif /* CONFIG_GENERIC_VDSO_DATA_STORE */
24-
2521
#ifndef __arch_update_vdso_clock
2622
static __always_inline void __arch_update_vdso_clock(struct vdso_clock *vc)
2723
{

0 commit comments

Comments
 (0)