diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-12 00:45:49 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-12 00:45:49 +0000 |
commit | 66f20d0f9bd86dc11f3869d78f3c5749789323ee (patch) | |
tree | f6462cca735c009dc41d590bc0128102d7645006 /include/asm-ppc | |
parent | 45c5d1ba96c0670768c065115604d52afa7882b0 (diff) |
ELF loader changes / cleanup as discussed on linux-kernel.
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/elf.h b/include/asm-ppc/elf.h index a175e8061..75b515e18 100644 --- a/include/asm-ppc/elf.h +++ b/include/asm-ppc/elf.h @@ -13,7 +13,7 @@ /* * This is used to ensure we don't load something for the wrong architecture. */ -#define elf_check_arch(x) ((x) == EM_PPC) +#define elf_check_arch(x) ((x)->e_machine == EM_PPC) /* * These are used to set parameters in the core dumps. |