mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
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
This commit is contained in:
committed by
Thomas Gleixner
parent
bb5bc7bfab
commit
7b338f6d4e
@@ -31,8 +31,3 @@ config VDSO_GETRANDOM
|
||||
bool
|
||||
help
|
||||
Selected by architectures that support vDSO getrandom().
|
||||
|
||||
config GENERIC_VDSO_DATA_STORE
|
||||
bool
|
||||
help
|
||||
Selected by architectures that use the generic vDSO data store.
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
obj-$(CONFIG_GENERIC_VDSO_DATA_STORE) += datastore.o
|
||||
obj-$(CONFIG_HAVE_GENERIC_VDSO) += datastore.o
|
||||
|
||||
@@ -108,13 +108,11 @@ bool vdso_get_timestamp(const struct vdso_time_data *vd, const struct vdso_clock
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_GENERIC_VDSO_DATA_STORE
|
||||
static __always_inline
|
||||
const struct vdso_time_data *__arch_get_vdso_u_timens_data(const struct vdso_time_data *vd)
|
||||
{
|
||||
return (void *)vd + PAGE_SIZE;
|
||||
}
|
||||
#endif /* CONFIG_GENERIC_VDSO_DATA_STORE */
|
||||
|
||||
static __always_inline
|
||||
bool do_hres_timens(const struct vdso_time_data *vdns, const struct vdso_clock *vcns,
|
||||
|
||||
Reference in New Issue
Block a user