elf-em.h: move EM_MICROBLAZE to the common header
authorMike Frysinger <vapier@gentoo.org>
Tue, 18 Aug 2015 07:28:01 +0000 (03:28 -0400)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 10 Sep 2015 04:54:15 +0000 (06:54 +0200)
commitb14132797d8041a42e03f4ffa1e722da1425adfb
treec94877001c4925aabb7536acf4d2d9e92b677615
parentb8889c4fc6ba03e289cec6a4d692f6f080a55e53
elf-em.h: move EM_MICROBLAZE to the common header

The linux/audit.h header uses EM_MICROBLAZE in order to define
AUDIT_ARCH_MICROBLAZE, but it's only available in the microblaze
asm headers.  Move it to the common elf-em.h header so that the
define can be used on non-microblaze systems.  Otherwise we get
build errors that EM_MICROBLAZE isn't defined when we try to use
the AUDIT_ARCH_MICROBLAZE symbol.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/uapi/asm/elf.h
include/uapi/linux/elf-em.h