diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-05-03 10:18:01 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-04 18:04:45 (GMT) |
commit | ecb783eae1372d69a53d406e1bdba8284e4bafcc (patch) | |
tree | 27026055319a1a078908524f60233b0e3d3de2db /arch/x86/vdso | |
parent | 163ea310b68bdde89b1ac633fbf8c0db290d3f86 (diff) | |
download | linux-ecb783eae1372d69a53d406e1bdba8284e4bafcc.tar.xz |
x86: vdso ELF handling - use SELFMAG instead of numeric constant
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: akpm@linux-foundation.org
Cc: hpa@zytor.com
Cc: mingo@elte.hu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/vdso')
-rw-r--r-- | arch/x86/vdso/vdso32-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c index 4dceeb1..cf058fe 100644 --- a/arch/x86/vdso/vdso32-setup.c +++ b/arch/x86/vdso/vdso32-setup.c @@ -162,7 +162,7 @@ static __init void relocate_vdso(Elf32_Ehdr *ehdr) Elf32_Shdr *shdr; int i; - BUG_ON(memcmp(ehdr->e_ident, ELFMAG, 4) != 0 || + BUG_ON(memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0 || !elf_check_arch_ia32(ehdr) || ehdr->e_type != ET_DYN); |