riscv: add Linux note to vdso
authorAndreas Schwab <schwab@suse.de>
Mon, 27 Apr 2020 15:13:34 +0000 (17:13 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Mon, 4 May 2020 21:22:34 +0000 (14:22 -0700)
commit0a9f2a6161dcd6be057f6c501453d28b3c4a3b0c
tree88aeef0ecf9413f999a43f48a49a5f8e8941cedb
parentc749bb2d554825e007cbc43b791f54e124dadfce
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>
arch/riscv/kernel/vdso/Makefile
arch/riscv/kernel/vdso/note.S [new file with mode: 0644]