powerpc: Add build salt to the vDSO
authorLaura Abbott <labbott@redhat.com>
Fri, 6 Jul 2018 00:49:39 +0000 (17:49 -0700)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
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 <labbott@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/powerpc/kernel/vdso32/note.S

index d4b5be4..227a732 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