Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 9b4789ea authored by Palmer Dabbelt's avatar Palmer Dabbelt
Browse files

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: default avatarKees Cook <keescook@chromium.org>
Reviewed-by: default avatarPaul Walmsley <paul.walmsley@sifive.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Tested-by: default avatarDavid Abdurachmanov <david.abdurachmanov@gmail.com>
Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent 732e8e41
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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.
 */
+1 −0
Original line number Diff line number Diff line
@@ -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 */