summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/vdso/note.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kernel/vdso/note.S')
-rw-r--r--arch/riscv/kernel/vdso/note.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/kernel/vdso/note.S b/arch/riscv/kernel/vdso/note.S
index 2a956c942211..3d92cc956b95 100644
--- a/arch/riscv/kernel/vdso/note.S
+++ b/arch/riscv/kernel/vdso/note.S
@@ -6,7 +6,10 @@
#include <linux/elfnote.h>
#include <linux/version.h>
+#include <asm/assembler.h>
ELFNOTE_START(Linux, 0, "a")
.long LINUX_VERSION_CODE
ELFNOTE_END
+
+emit_riscv_feature_1_and