]> Git Repo - linux.git/commitdiff
powerpc: Add build salt to the vDSO
authorLaura Abbott <[email protected]>
Fri, 6 Jul 2018 00:49:39 +0000 (17:49 -0700)
committerMasahiro Yamada <[email protected]>
Tue, 17 Jul 2018 16:18:05 +0000 (01:18 +0900)
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: Laura Abbott <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
arch/powerpc/kernel/vdso32/note.S

index d4b5be4f3d5fc67a157d38b24388c5c069dfe106..227a7327399e620bab8aac77278894624a27f792 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <linux/uts.h>
 #include <linux/version.h>
+#include <linux/build-salt.h>
 
 #define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type)                        \
        .section name, flags;                                                 \
@@ -23,3 +24,5 @@
        ASM_ELF_NOTE_BEGIN(".note.kernel-version", "a", UTS_SYSNAME, 0)
        .long LINUX_VERSION_CODE
        ASM_ELF_NOTE_END
+
+BUILD_SALT
This page took 0.053846 seconds and 4 git commands to generate.