mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 06:52:34 -04:00
vdso: Remove remnants of architecture-specific time storage
All users of the time releated parts of the vDSO are now using the generic storage implementation. Remove the therefore unnecessary compatibility accessor functions and symbols. Co-developed-by: Nam Cao <namcao@linutronix.de> Signed-off-by: Nam Cao <namcao@linutronix.de> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250204-vdso-store-rng-v3-18-13a4669dfc8c@linutronix.de
This commit is contained in:
committed by
Thomas Gleixner
parent
998a8a2608
commit
ac1a42f4e4
@@ -20,31 +20,19 @@ static __always_inline const struct vdso_rng_data *__arch_get_vdso_u_rng_data(vo
|
||||
}
|
||||
#endif
|
||||
|
||||
#else /* !CONFIG_GENERIC_VDSO_DATA_STORE */
|
||||
|
||||
#ifndef __arch_get_k_vdso_data
|
||||
static __always_inline struct vdso_data *__arch_get_k_vdso_data(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif /* __arch_get_k_vdso_data */
|
||||
#define vdso_k_time_data __arch_get_k_vdso_data()
|
||||
|
||||
#define __arch_get_vdso_u_time_data __arch_get_vdso_data
|
||||
|
||||
#endif /* CONFIG_GENERIC_VDSO_DATA_STORE */
|
||||
|
||||
#ifndef __arch_update_vsyscall
|
||||
static __always_inline void __arch_update_vsyscall(struct vdso_data *vdata)
|
||||
static __always_inline void __arch_update_vsyscall(struct vdso_time_data *vdata)
|
||||
{
|
||||
}
|
||||
#endif /* __arch_update_vsyscall */
|
||||
|
||||
#ifndef __arch_sync_vdso_data
|
||||
static __always_inline void __arch_sync_vdso_data(struct vdso_data *vdata)
|
||||
#ifndef __arch_sync_vdso_time_data
|
||||
static __always_inline void __arch_sync_vdso_time_data(struct vdso_time_data *vdata)
|
||||
{
|
||||
}
|
||||
#endif /* __arch_sync_vdso_data */
|
||||
#endif /* __arch_sync_vdso_time_data */
|
||||
|
||||
#endif /* !__ASSEMBLY__ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user