]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] Reserve elfcorehdr memory in CONFIG_CRASH_DUMP
authorJay Lan <jlan@sgi.com>
Fri, 7 Nov 2008 17:51:55 +0000 (09:51 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 7 Nov 2008 17:51:55 +0000 (09:51 -0800)
commit6656e668dde8e5f1ea7799156a9f0dc3c0909acb
treeade8e6f89589d7c09bd657ee0c96fbc222ea519c
parent8450eb9a496d89c0fc0bf03fb87ce76ebd2dce25
[IA64] Reserve elfcorehdr memory in CONFIG_CRASH_DUMP

IA64 kdump kernel failed to initialize /proc/vmcore in 2.6.28-rc2.
A bug was introduced in this patch commit:

  7c4598917bf1f27f7d54cedb28b02e60e9d02711
  always reserve elfcore header memory in crash kernel

The problem was that the call to reserve_elfcorehdr() should be placed
in CONFIG_CRASH_DUMP rather than in CONFIG_CRASH_KERNEL, which does
not exist.

Signed-off-by: Jay Lan <jlan@sgi.com>
Acked-by: Simon Hormon <horms@verge.net.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/setup.c