summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2018-06-25 22:23:12 +0200
committerPalmer Dabbelt <palmer@sifive.com>2018-10-31 20:13:47 +0100
commit9b4789eacb654b7bbc806c831bcebd799ae0e2f5 (patch)
treedbda4cbb7b3f7e08c9ba7b6d997d5eaf5fc5c27a /arch/riscv
parentRISC-V: properly determine hardware caps (diff)
downloadlinux-9b4789eacb654b7bbc806c831bcebd799ae0e2f5.tar.xz
linux-9b4789eacb654b7bbc806c831bcebd799ae0e2f5.zip
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 'arch/riscv')
-rw-r--r--arch/riscv/include/asm/elf.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/riscv/include/asm/elf.h b/arch/riscv/include/asm/elf.h
index a1ef503d616e..697fc23b0d5a 100644
--- a/arch/riscv/include/asm/elf.h
+++ b/arch/riscv/include/asm/elf.h
@@ -16,9 +16,6 @@
#include <asm/auxvec.h>
#include <asm/byteorder.h>
-/* TODO: Move definition into include/uapi/linux/elf-em.h */
-#define EM_RISCV 0xF3
-
/*
* These are used to set parameters in the core dumps.
*/