arm64: Add build salt to the vDSO
authorLaura Abbott <labbott@redhat.com>
Fri, 6 Jul 2018 00:49:40 +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.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm64/kernel/vdso/note.S

index b82c85e5d9720877adbe4101682c9c9dce8ab8c6..e20483b104d9053ade8ba5fdfb00ce383046733b 100644 (file)
 #include <linux/uts.h>
 #include <linux/version.h>
 #include <linux/elfnote.h>
+#include <linux/build-salt.h>
 
 ELFNOTE_START(Linux, 0, "a")
        .long LINUX_VERSION_CODE
 ELFNOTE_END
+
+BUILD_SALT