]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
elf: use ELF_CORE_EFLAGS for kcore ELF header flags
authorEdgar E. Iglesias <edgar.iglesias@axis.com>
Fri, 25 Jul 2008 08:48:10 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:42 +0000 (10:53 -0700)
commit79885b227740b9c7d3057f2de556f4098d37cc8f
tree8e61116e5bfd7aa50ed6f8359b8baf150d637780
parent7833351b5260b3a58b54a0c2e7065001d986d749
elf: use ELF_CORE_EFLAGS for kcore ELF header flags

ELF_CORE_EFLAGS is already used by the binfmt_elf coredumper to set correct
arch specific ELF header flags on coredumps.  Use it for kcore dumps as well.
At the moment, this affects the CRIS and the H8300 arch.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/kcore.c
include/asm-h8300/elf.h