always reserve elfcore header memory in crash kernel
authorSimon Horman <horms@verge.net.au>
Sun, 19 Oct 2008 03:28:29 +0000 (20:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:40 +0000 (08:52 -0700)
commitd9a9855d0b06ca6d6cc92596fedcc03f8512e062
tree31e3116ebf9c57915de08cdc5f918600b5395ce4
parent85a0ee342e0c06c19d78fdf48307211c6cf18fcb
always reserve elfcore header memory in crash kernel

elfcore header memory needs to be reserved in a crash kernel.  This means
that the relevant code should be protected by CONFIG_CRASH_DUMP rather
than CONFIG_PROC_VMCORE.

Signed-off-by: Simon Horman <horms@verge.net.au>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/kernel/efi.c
arch/ia64/kernel/setup.c