Skip to content

Commit

Permalink
Move EM_RISCV into elf-em.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Paul Walmsley <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Tested-by: David Abdurachmanov <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
  • Loading branch information
palmer-dabbelt committed Oct 31, 2018
1 parent 732e8e4 commit 9b4789e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions arch/riscv/include/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
1 change: 1 addition & 0 deletions include/uapi/linux/elf-em.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 9b4789e

Please sign in to comment.