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.
Fixes:
|
||
|---|---|---|
| .. | ||
| byteorder.h | ||
| elf.h | ||
| Kbuild | ||
| param.h | ||
| ptrace.h | ||
| sigcontext.h | ||
| unistd.h | ||