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: ce5d112827 ("ARCH: AUDIT: implement syscall_get_arch for all arches")
Cc: Eric Paris <[email protected]>
Cc: Stefan Kristiansson <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Eric Paris <[email protected]>
With the architecture gone, any references to it are no longer needed.
Cc: Yoshinori Sato <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>