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: Bastian Blank <[email protected]>
---
I was not able to properly test this change, due to unavailable
toolchain.

 arch/csky/kernel/vdso/note.S | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/csky/kernel/vdso/note.S b/arch/csky/kernel/vdso/note.S
index 2a956c942211..f42c7ad4f564 100644
--- a/arch/csky/kernel/vdso/note.S
+++ b/arch/csky/kernel/vdso/note.S
@@ -4,9 +4,12 @@
  * Here we can supply some information useful to userland.
  */
 
+#include <linux/build-salt.h>
 #include <linux/elfnote.h>
 #include <linux/version.h>
 
 ELFNOTE_START(Linux, 0, "a")
        .long LINUX_VERSION_CODE
 ELFNOTE_END
+
+BUILD_SALT
-- 
2.53.0

Reply via email to