]> git.baikalelectronics.ru Git - kernel.git/commit
next: openrisc: Fix build
authorGuenter Roeck <linux@roeck-us.net>
Fri, 26 Sep 2014 16:05:39 +0000 (09:05 -0700)
committerEric Paris <eparis@redhat.com>
Fri, 26 Sep 2014 18:53:23 +0000 (14:53 -0400)
commitd5d95290b8298cbd5b67f6283d80b2a934ac8eb6
treea22148b9d18788137f25d3412519cd7f458b5020
parent3f4fc344ce0d000a328bf0d9fc291d1341472005
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.

Fixes: b1528ec343fe ("ARCH: AUDIT: implement syscall_get_arch for all arches")
Cc: Eric Paris <eparis@redhat.com>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Eric Paris <eparis@redhat.com>
arch/openrisc/include/uapi/asm/elf.h
include/uapi/linux/elf-em.h