x86: unify crashkernel reservation for 32 and 64 bit
authorBernhard Walle <bwalle@suse.de>
Fri, 20 Jun 2008 13:38:22 +0000 (15:38 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 10:45:44 +0000 (12:45 +0200)
commit1ecd27657b735128a728ebf0c31fce5e1456718a
treef49fba5bd4a7a640b738a0f225ff3304ab9af877
parent6236af82d8a989e150a02800c210eb61cb1e17be
x86: unify crashkernel reservation for 32 and 64 bit

This patch moves the reserve_crashkernel() to setup.c and removes the
architecture-specific version. Both versions were more or less the same.

I tested it on both x86-64 and i386, with CONFIG_KEXEC on and off (so
that it compiles).

Signed-off-by: Bernhard Walle <bwalle@suse.de>
Cc: yhlu.kernel@gmail.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup.c
arch/x86/kernel/setup_32.c
arch/x86/kernel/setup_64.c
include/asm-x86/setup.h