summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/vdso/Makefile
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2020-04-27 17:13:34 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-05-04 14:22:34 -0700
commit0a9f2a6161dcd6be057f6c501453d28b3c4a3b0c (patch)
tree88aeef0ecf9413f999a43f48a49a5f8e8941cedb /arch/riscv/kernel/vdso/Makefile
parentc749bb2d554825e007cbc43b791f54e124dadfce (diff)
downloadlinux-0a9f2a6161dcd6be057f6c501453d28b3c4a3b0c.tar.bz2
riscv: add Linux note to vdso
The Linux note in the vdso allows glibc to check the running kernel version without having to issue the uname syscall. Signed-off-by: Andreas Schwab <schwab@suse.de> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/kernel/vdso/Makefile')
-rw-r--r--arch/riscv/kernel/vdso/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/vdso/Makefile b/arch/riscv/kernel/vdso/Makefile
index a4ee3a0e7d20..4c8b2a4a6a70 100644
--- a/arch/riscv/kernel/vdso/Makefile
+++ b/arch/riscv/kernel/vdso/Makefile
@@ -12,7 +12,7 @@ vdso-syms += getcpu
vdso-syms += flush_icache
# Files to link into the vdso
-obj-vdso = $(patsubst %, %.o, $(vdso-syms))
+obj-vdso = $(patsubst %, %.o, $(vdso-syms)) note.o
# Build rules
targets := $(obj-vdso) vdso.so vdso.so.dbg vdso.lds vdso-dummy.o