aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/boot/tools/objstrip.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-08 10:49:28 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-08 10:49:28 -0700
commit00fda1682efdbd62a20a8a21aee52d994c323c7f (patch)
treef49cee6c892019f193bf29985604951dd81ea94d /arch/alpha/boot/tools/objstrip.c
parenttty: move linux/gsmmux.h to uapi (diff)
parentLinux 4.1-rc7 (diff)
downloadlinux-dev-00fda1682efdbd62a20a8a21aee52d994c323c7f.tar.xz
linux-dev-00fda1682efdbd62a20a8a21aee52d994c323c7f.zip
Merge 4.1-rc7 into tty-next
This fixes up a merge issue with the amba-pl011.c driver, and we want the fixes in this branch as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/alpha/boot/tools/objstrip.c')
-rw-r--r--arch/alpha/boot/tools/objstrip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/alpha/boot/tools/objstrip.c b/arch/alpha/boot/tools/objstrip.c
index 367d53d031fc..dee82695f48b 100644
--- a/arch/alpha/boot/tools/objstrip.c
+++ b/arch/alpha/boot/tools/objstrip.c
@@ -27,6 +27,9 @@
#include <linux/param.h>
#ifdef __ELF__
# include <linux/elf.h>
+# define elfhdr elf64_hdr
+# define elf_phdr elf64_phdr
+# define elf_check_arch(x) ((x)->e_machine == EM_ALPHA)
#endif
/* bootfile size must be multiple of BLOCK_SIZE: */