History

next: openrisc: Fix build

openrisc:defconfig fails to build in next-20140926 with the following error. In file included from arch/openrisc/kernel/signal.c:31:0: ./arch/openrisc/include/asm/syscall.h: In function 'syscall_get_arch': ./arch/openrisc/include/asm/syscall.h:77:9: error: 'EM_OPENRISC' undeclared Fix by moving EM_OPENRISC to include/uapi/linux/elf-em.h.

Guenter Roeck committed 12 years ago

Commit 29075fe1 parent 9eab3392 files · +2 −2Browse files

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

Unified · Split

include/uapi/linux/elf-em.h+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
3232 #define EM_V850 87 /* NEC v850 */
3333 #define EM_M32R 88 /* Renesas M32R */
3434 #define EM_MN10300 89 /* Panasonic/MEI MN10300, AM33 */
35+#define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */
3536 #define EM_BLACKFIN 106 /* ADI Blackfin Processor */
3637 #define EM_TI_C6000 140 /* TI C6X DSPs */
3738 #define EM_AARCH64 183 /* ARM 64 bit */