diff options
| author | Bastian Blank <waldi@debian.org> | 2026-06-25 13:03:50 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-06-25 13:03:50 +0800 |
| commit | c2bd59bf44d6cd1a0bbb23a55e17b24bfb6b3df8 (patch) | |
| tree | 81c18461d5efaf552c750de3c8bddd395506b4d0 | |
| parent | 70378a710598432f13509bdc16a1c0f06b3ecb53 (diff) | |
LoongArch: 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>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
| -rw-r--r-- | arch/loongarch/vdso/elf.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/loongarch/vdso/elf.S b/arch/loongarch/vdso/elf.S index 9bb21b9f9583..d6e000003b85 100644 --- a/arch/loongarch/vdso/elf.S +++ b/arch/loongarch/vdso/elf.S @@ -7,9 +7,12 @@ #include <asm/vdso/vdso.h> +#include <linux/build-salt.h> #include <linux/elfnote.h> #include <linux/version.h> ELFNOTE_START(Linux, 0, "a") .long LINUX_VERSION_CODE ELFNOTE_END + +BUILD_SALT |
