diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-25 20:58:55 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 07:10:53 -0400 |
commit | 0196bcbb150786d54a50e3074013020570a59d31 (patch) | |
tree | 85cea981816fca6d82334ffd071ff8ffd500ecb1 /arch/x86/kernel/setup_percpu.c | |
parent | bdba0e700c86fa2f152b1fe37b001c9e9c65d2b7 (diff) |
x86: move parse elfvorehdr back to setup.c
Signed-off-by: Yinghai <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup_percpu.c')
-rw-r--r-- | arch/x86/kernel/setup_percpu.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c index ccf329dc81be..7068f95cccc6 100644 --- a/arch/x86/kernel/setup_percpu.c +++ b/arch/x86/kernel/setup_percpu.c | |||
@@ -387,22 +387,3 @@ EXPORT_SYMBOL(node_to_cpumask); | |||
387 | 387 | ||
388 | #endif /* X86_64_NUMA */ | 388 | #endif /* X86_64_NUMA */ |
389 | 389 | ||
390 | |||
391 | #ifdef CONFIG_PROC_VMCORE | ||
392 | /* elfcorehdr= specifies the location of elf core header | ||
393 | * stored by the crashed kernel. This option will be passed | ||
394 | * by kexec loader to the capture kernel. | ||
395 | */ | ||
396 | static int __init setup_elfcorehdr(char *arg) | ||
397 | { | ||
398 | char *end; | ||
399 | if (!arg) | ||
400 | return -EINVAL; | ||
401 | elfcorehdr_addr = memparse(arg, &end); | ||
402 | return end > arg ? 0 : -EINVAL; | ||
403 | } | ||
404 | early_param("elfcorehdr", setup_elfcorehdr); | ||
405 | #endif | ||
406 | |||
407 | |||
408 | |||