History

Move EM_XTENSA to uapi/linux/elf-em.h

This should never have been defined in the arch tree to begin with, and now uapi/linux/audit.h header is going to use EM_XTENSA in order to define AUDIT_ARCH_XTENSA which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request.

Dmitry V. Levin committed 7 years ago

Commit b61c41c1 parent 4e460f62 files · +2 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/elf-em.h+1−0
@@ -34,6 +34,7 @@ · 33 unmodified lines
3434 #define EM_M32R 88 /* Renesas M32R */
3535 #define EM_MN10300 89 /* Panasonic/MEI MN10300, AM33 */
3636 #define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */
37+#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
3738 #define EM_BLACKFIN 106 /* ADI Blackfin Processor */
3839 #define EM_ALTERA_NIOS2 113 /* Altera Nios II soft-core processor */
3940 #define EM_TI_C6000 140 /* TI C6X DSPs */