arm64: Add build salt to the vDSO
authorLaura Abbott <labbott@redhat.com>
Fri, 6 Jul 2018 00:49:40 +0000 (17:49 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 7 Oct 2018 20:57:06 +0000 (21:57 +0100)
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>
Gbp-Pq: Topic features/arm64
Gbp-Pq: Name arm64-add-build-salt-to-the-vdso.patch

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