]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
LoongArch: Add build salt to the vDSO
authorBastian Blank <waldi@debian.org>
Thu, 25 Jun 2026 05:03:50 +0000 (13:03 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 25 Jun 2026 05:03:50 +0000 (13:03 +0800)
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>
arch/loongarch/vdso/elf.S

index 9bb21b9f9583d20831ef254052ef3d4962183ce2..d6e000003b858e4500c208c17689d37a5495fdba 100644 (file)
@@ -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