diff options
author | Bernhard Walle <bwalle@suse.de> | 2008-06-20 09:38:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 06:45:44 -0400 |
commit | 1ecd27657b735128a728ebf0c31fce5e1456718a (patch) | |
tree | f49fba5bd4a7a640b738a0f225ff3304ab9af877 /include/asm-x86/setup.h | |
parent | 6236af82d8a989e150a02800c210eb61cb1e17be (diff) |
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>
Diffstat (limited to 'include/asm-x86/setup.h')
-rw-r--r-- | include/asm-x86/setup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h index e14b6e73d266..b434bdd82ba7 100644 --- a/include/asm-x86/setup.h +++ b/include/asm-x86/setup.h | |||
@@ -8,6 +8,9 @@ | |||
8 | /* Interrupt control for vSMPowered x86_64 systems */ | 8 | /* Interrupt control for vSMPowered x86_64 systems */ |
9 | void vsmp_init(void); | 9 | void vsmp_init(void); |
10 | 10 | ||
11 | /* Crashkernel reservation */ | ||
12 | void reserve_crashkernel(void); | ||
13 | |||
11 | #ifndef CONFIG_PARAVIRT | 14 | #ifndef CONFIG_PARAVIRT |
12 | #define paravirt_post_allocator_init() do {} while (0) | 15 | #define paravirt_post_allocator_init() do {} while (0) |
13 | #endif | 16 | #endif |