mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 04:23:35 +02:00
vdso: Remove remnants of architecture-specific random state storage
All users of the random vDSO are using the generic storage implementation. Remove the now 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-17-13a4669dfc8c@linutronix.de
This commit is contained in:
parent
9729dceab1
commit
998a8a2608
|
|
@ -32,11 +32,6 @@ static __always_inline struct vdso_data *__arch_get_k_vdso_data(void)
|
|||
|
||||
#define __arch_get_vdso_u_time_data __arch_get_vdso_data
|
||||
|
||||
#ifndef __arch_get_vdso_u_rng_data
|
||||
#define __arch_get_vdso_u_rng_data() __arch_get_vdso_rng_data()
|
||||
#endif
|
||||
#define vdso_k_rng_data __arch_get_k_vdso_rng_data()
|
||||
|
||||
#endif /* CONFIG_GENERIC_VDSO_DATA_STORE */
|
||||
|
||||
#ifndef __arch_update_vsyscall
|
||||
|
|
|
|||
|
|
@ -152,7 +152,6 @@ struct vdso_rng_data {
|
|||
#ifndef CONFIG_GENERIC_VDSO_DATA_STORE
|
||||
extern struct vdso_time_data _vdso_data[CS_BASES] __attribute__((visibility("hidden")));
|
||||
extern struct vdso_time_data _timens_data[CS_BASES] __attribute__((visibility("hidden")));
|
||||
extern struct vdso_rng_data _vdso_rng_data __attribute__((visibility("hidden")));
|
||||
#else
|
||||
extern struct vdso_time_data vdso_u_time_data[CS_BASES] __attribute__((visibility("hidden")));
|
||||
extern struct vdso_rng_data vdso_u_rng_data __attribute__((visibility("hidden")));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user