diff mbox series

[v2,17/18] vdso: Remove remnants of architecture-specific random state storage

Message ID 20250110-vdso-store-rng-v2-17-350c9179bbf1@linutronix.de (mailing list archive)
State Changes Requested
Headers show
Series vDSO: Introduce generic data storage | expand

Checks

Context Check Description
conchuod/vmtest-for-next-PR fail PR summary
conchuod/patch-17-test-1 success .github/scripts/patches/tests/build_rv32_defconfig.sh took 110.59s
conchuod/patch-17-test-2 success .github/scripts/patches/tests/build_rv64_clang_allmodconfig.sh took 1141.58s
conchuod/patch-17-test-3 success .github/scripts/patches/tests/build_rv64_gcc_allmodconfig.sh took 1348.02s
conchuod/patch-17-test-4 fail .github/scripts/patches/tests/build_rv64_nommu_k210_defconfig.sh took 16.28s
conchuod/patch-17-test-5 fail .github/scripts/patches/tests/build_rv64_nommu_virt_defconfig.sh took 18.27s
conchuod/patch-17-test-6 success .github/scripts/patches/tests/checkpatch.sh took 0.52s
conchuod/patch-17-test-7 success .github/scripts/patches/tests/dtb_warn_rv64.sh took 37.72s
conchuod/patch-17-test-8 success .github/scripts/patches/tests/header_inline.sh took 0.01s
conchuod/patch-17-test-9 success .github/scripts/patches/tests/kdoc.sh took 0.51s
conchuod/patch-17-test-10 success .github/scripts/patches/tests/module_param.sh took 0.01s
conchuod/patch-17-test-11 success .github/scripts/patches/tests/verify_fixes.sh took 0.00s
conchuod/patch-17-test-12 success .github/scripts/patches/tests/verify_signedoff.sh took 0.03s

Commit Message

Thomas Weißschuh Jan. 10, 2025, 3:23 p.m. UTC
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>
---
 include/asm-generic/vdso/vsyscall.h | 5 -----
 include/vdso/datapage.h             | 1 -
 2 files changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/include/asm-generic/vdso/vsyscall.h b/include/asm-generic/vdso/vsyscall.h
index a5f973e4e2723ef1815c88a7846f7c477e3febd9..13e2ac3736ee9b4aea6800117997ee165a7e2b9d 100644
--- a/include/asm-generic/vdso/vsyscall.h
+++ b/include/asm-generic/vdso/vsyscall.h
@@ -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
diff --git a/include/vdso/datapage.h b/include/vdso/datapage.h
index 46658b39c28250e977f5a3454224c3ed0fb4c81d..497907c3aa11fcae913f62ef7373bbe6a1026bd6 100644
--- a/include/vdso/datapage.h
+++ b/include/vdso/datapage.h
@@ -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")));