summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2018-06-25 13:23:12 -0700
committerPalmer Dabbelt <palmer@sifive.com>2018-10-31 12:13:47 -0700
commit9b4789eacb654b7bbc806c831bcebd799ae0e2f5 (patch)
treedbda4cbb7b3f7e08c9ba7b6d997d5eaf5fc5c27a /include/uapi
parent732e8e4130ffccb618390e0f80a884543e61fd61 (diff)
downloadlinux-9b4789eacb654b7bbc806c831bcebd799ae0e2f5.tar.gz
Move EM_RISCV into elf-em.h
This should never have been inside our arch port to begin with, it's just a relic from when we were maintaining out of tree patches. Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Tested-by: David Abdurachmanov <david.abdurachmanov@gmail.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/elf-em.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h
index 31aa10178335..93722e60204c 100644
--- a/include/uapi/linux/elf-em.h
+++ b/include/uapi/linux/elf-em.h
@@ -41,6 +41,7 @@
#define EM_TILEPRO 188 /* Tilera TILEPro */
#define EM_MICROBLAZE 189 /* Xilinx MicroBlaze */
#define EM_TILEGX 191 /* Tilera TILE-Gx */
+#define EM_RISCV 243 /* RISC-V */
#define EM_BPF 247 /* Linux BPF - in-kernel virtual machine */
#define EM_FRV 0x5441 /* Fujitsu FR-V */