diff options
| -rw-r--r-- | arch/riscv/include/asm/elf.h | 3 | ||||
| -rw-r--r-- | include/uapi/linux/elf-em.h | 1 |
2 files changed, 1 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 @@ | |||
| 16 | #include <asm/auxvec.h> | 16 | #include <asm/auxvec.h> |
| 17 | #include <asm/byteorder.h> | 17 | #include <asm/byteorder.h> |
| 18 | 18 | ||
| 19 | /* TODO: Move definition into include/uapi/linux/elf-em.h */ | ||
| 20 | #define EM_RISCV 0xF3 | ||
| 21 | |||
| 22 | /* | 19 | /* |
| 23 | * These are used to set parameters in the core dumps. | 20 | * These are used to set parameters in the core dumps. |
| 24 | */ | 21 | */ |
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 @@ | |||
| 41 | #define EM_TILEPRO 188 /* Tilera TILEPro */ | 41 | #define EM_TILEPRO 188 /* Tilera TILEPro */ |
| 42 | #define EM_MICROBLAZE 189 /* Xilinx MicroBlaze */ | 42 | #define EM_MICROBLAZE 189 /* Xilinx MicroBlaze */ |
| 43 | #define EM_TILEGX 191 /* Tilera TILE-Gx */ | 43 | #define EM_TILEGX 191 /* Tilera TILE-Gx */ |
| 44 | #define EM_RISCV 243 /* RISC-V */ | ||
| 44 | #define EM_BPF 247 /* Linux BPF - in-kernel virtual machine */ | 45 | #define EM_BPF 247 /* Linux BPF - in-kernel virtual machine */ |
| 45 | #define EM_FRV 0x5441 /* Fujitsu FR-V */ | 46 | #define EM_FRV 0x5441 /* Fujitsu FR-V */ |
| 46 | 47 | ||
