Skip to content

Commit

Permalink
powerpc: Add build salt to the vDSO
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
labbott authored and masahir0y committed Jul 17, 2018
1 parent d623f60 commit b399baa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/kernel/vdso32/note.S
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand All @@ -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

0 comments on commit b399baa

Please sign in to comment.