From: Bastian Blank Date: Thu, 18 Jun 2026 16:12:30 +0000 (+0200) Subject: riscv: Add build salt to the vDSO X-Git-Tag: v7.2-rc2~12^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8c5a7835f5c9e34c8a15190519a2cc9ecb9b5b5;p=thirdparty%2Fkernel%2Flinux.git riscv: Add build salt to the vDSO The vDSO needs to have a unique build id in a similar manner to the kernel and modules. Use the build salt macro. Signed-off-by: Bastian Blank Reviewed-by: Nam Cao Link: https://patch.msgid.link/ajQY7n0an0YwQ--j@steamhammer.waldi.eu.org Signed-off-by: Paul Walmsley --- diff --git a/arch/riscv/kernel/vdso/note.S b/arch/riscv/kernel/vdso/note.S index 3d92cc956b95..69bfe48be037 100644 --- a/arch/riscv/kernel/vdso/note.S +++ b/arch/riscv/kernel/vdso/note.S @@ -4,6 +4,7 @@ * Here we can supply some information useful to userland. */ +#include #include #include #include @@ -12,4 +13,6 @@ ELFNOTE_START(Linux, 0, "a") .long LINUX_VERSION_CODE ELFNOTE_END +BUILD_SALT + emit_riscv_feature_1_and