summaryrefslogtreecommitdiffstats
path: root/include/asm-s390
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-12 00:45:49 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-12 00:45:49 +0000
commit66f20d0f9bd86dc11f3869d78f3c5749789323ee (patch)
treef6462cca735c009dc41d590bc0128102d7645006 /include/asm-s390
parent45c5d1ba96c0670768c065115604d52afa7882b0 (diff)
ELF loader changes / cleanup as discussed on linux-kernel.
Diffstat (limited to 'include/asm-s390')
-rw-r--r--include/asm-s390/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-s390/elf.h b/include/asm-s390/elf.h
index 60a08aaae..eea4560fc 100644
--- a/include/asm-s390/elf.h
+++ b/include/asm-s390/elf.h
@@ -22,7 +22,7 @@ typedef s390_regs elf_gregset_t;
/*
* This is used to ensure we don't load something for the wrong architecture.
*/
-#define elf_check_arch(x) ((x) == EM_S390)
+#define elf_check_arch(x) ((x)->elf_machine == EM_S390)
/*
* These are used to set parameters in the core dumps.