]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - arch/openrisc/include/uapi/asm/elf.h
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)
commit29075feaf1f55e6b1aa4054b44bc141e8d5eab0b
treea22148b9d18788137f25d3412519cd7f458b5020
parent9eab339b197a6903043d272295dcb716ff739b21
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: ce5d112827e5 ("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