]> git.baikalelectronics.ru Git - kernel.git/commit
Use extended crashkernel command line on ia64
authorBernhard Walle <bwalle@suse.de>
Fri, 19 Oct 2007 06:41:00 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:50 +0000 (11:53 -0700)
commit44186760e012acf5d0bee655198b90508a13a3bd
treeb86a8de1706db7e4b8968ddb587aa812d8da8084
parent6d925fb059622a905ef18ea08ac01bd160b92a6d
Use extended crashkernel command line on ia64

This patch adapts IA64 to use the generic parse_crashkernel() function instead
of its own parsing for the crashkernel command line.

Because the total amount of System RAM must be known when calling this
function, efi_memmap_init() is modified to return its accumulated total_memory
variable.

Also, the crashkernel handling is moved in an own function in
arch/ia64/kernel/setup.c to make the code more readable.

[kamalesh@linux.vnet.ibm.com: build fix]
Signed-off-by: Bernhard Walle <bwalle@suse.de>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.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
include/asm-ia64/meminit.h