From e9bb20873f9dff73fc6f381e32b43f198974ed71 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Tue, 3 Jul 2018 15:59:53 -0700 Subject: [PATCHv6 3/4] powerpc: Add build salt to the vDSO Cc: Andy Lutomirski To: mjw@fedoraproject.org Cc: Linus Torvalds To: H. J. Lu Cc: X86 ML Cc: linux-kernel@vger.kernel.org To: Masahiro Yamada Cc: Nick Clifton Cc: Cary Coutant Cc: linux-kbuild@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org To: Michael Ellerman Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-kernel@lists.infradead.org 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 --- v6: Remove semi-colon --- arch/powerpc/kernel/vdso32/note.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/kernel/vdso32/note.S b/arch/powerpc/kernel/vdso32/note.S index d4b5be4f3d5f..227a7327399e 100644 --- a/arch/powerpc/kernel/vdso32/note.S +++ b/arch/powerpc/kernel/vdso32/note.S @@ -5,6 +5,7 @@ #include #include +#include #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 -- 2.17.1