OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
163ea31
)
x86: vdso ELF handling - use SELFMAG instead of numeric constant
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Sat, 3 May 2008 10:18:01 +0000
(14:18 +0400)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 4 May 2008 18:04:45 +0000
(20:04 +0200)
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>
arch/x86/vdso/vdso32-setup.c
patch
|
blob
|
history
diff --git
a/arch/x86/vdso/vdso32-setup.c
b/arch/x86/vdso/vdso32-setup.c
index
4dceeb1
..
cf058fe
100644
(file)
--- 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);