mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 11:33:36 -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
@@ -7,7 +7,7 @@
|
||||
#include <asm/barrier.h>
|
||||
#include <vdso/datapage.h>
|
||||
|
||||
static __always_inline u32 vdso_read_begin(const struct vdso_data *vd)
|
||||
static __always_inline u32 vdso_read_begin(const struct vdso_time_data *vd)
|
||||
{
|
||||
u32 seq;
|
||||
|
||||
@@ -18,7 +18,7 @@ static __always_inline u32 vdso_read_begin(const struct vdso_data *vd)
|
||||
return seq;
|
||||
}
|
||||
|
||||
static __always_inline u32 vdso_read_retry(const struct vdso_data *vd,
|
||||
static __always_inline u32 vdso_read_retry(const struct vdso_time_data *vd,
|
||||
u32 start)
|
||||
{
|
||||
u32 seq;
|
||||
@@ -28,7 +28,7 @@ static __always_inline u32 vdso_read_retry(const struct vdso_data *vd,
|
||||
return seq != start;
|
||||
}
|
||||
|
||||
static __always_inline void vdso_write_begin(struct vdso_data *vd)
|
||||
static __always_inline void vdso_write_begin(struct vdso_time_data *vd)
|
||||
{
|
||||
/*
|
||||
* WRITE_ONCE() is required otherwise the compiler can validly tear
|
||||
@@ -40,7 +40,7 @@ static __always_inline void vdso_write_begin(struct vdso_data *vd)
|
||||
smp_wmb();
|
||||
}
|
||||
|
||||
static __always_inline void vdso_write_end(struct vdso_data *vd)
|
||||
static __always_inline void vdso_write_end(struct vdso_time_data *vd)
|
||||
{
|
||||
smp_wmb();
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user