diff options
| author | Bastian Blank <waldi@debian.org> | 2026-06-18 18:12:30 +0200 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-06-25 12:05:05 -0600 |
| commit | c8c5a7835f5c9e34c8a15190519a2cc9ecb9b5b5 (patch) | |
| tree | ce58afe99b56255a9d27b1f247b702766d6369db /arch | |
| parent | 5c5dea43f6354e8dbd13bcb7e478f85593e19d90 (diff) | |
| download | linux-2.6-c8c5a7835f5c9e34c8a15190519a2cc9ecb9b5b5.tar.gz linux-2.6-c8c5a7835f5c9e34c8a15190519a2cc9ecb9b5b5.zip | |
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 <waldi@debian.org>
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://patch.msgid.link/ajQY7n0an0YwQ--j@steamhammer.waldi.eu.org
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/riscv/kernel/vdso/note.S | 3 |
1 files changed, 3 insertions, 0 deletions
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 <linux/build-salt.h> #include <linux/elfnote.h> #include <linux/version.h> #include <asm/assembler.h> @@ -12,4 +13,6 @@ ELFNOTE_START(Linux, 0, "a") .long LINUX_VERSION_CODE ELFNOTE_END +BUILD_SALT + emit_riscv_feature_1_and |
