aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_32.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-22 00:02:20 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 06:50:13 -0400
commit17b4cceb1feb2a8865ce47064dd3bd446063a5d5 (patch)
treeacdc963f0300a786a2a86eeb451b6913087b58a0 /arch/x86/kernel/setup_32.c
parentce97c40e28223c148e142bda7af48fd0f27c81f9 (diff)
x86: move elfcorehdr parsing to setup.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup_32.c')
-rw-r--r--arch/x86/kernel/setup_32.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index 2574ec8234c7..d24ac268523f 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -42,7 +42,6 @@
42#include <linux/iscsi_ibft.h> 42#include <linux/iscsi_ibft.h>
43#include <linux/nodemask.h> 43#include <linux/nodemask.h>
44#include <linux/kexec.h> 44#include <linux/kexec.h>
45#include <linux/crash_dump.h>
46#include <linux/dmi.h> 45#include <linux/dmi.h>
47#include <linux/pfn.h> 46#include <linux/pfn.h>
48#include <linux/pci.h> 47#include <linux/pci.h>
@@ -194,21 +193,6 @@ static inline void copy_edd(void)
194} 193}
195#endif 194#endif
196 195
197#ifdef CONFIG_PROC_VMCORE
198/* elfcorehdr= specifies the location of elf core header
199 * stored by the crashed kernel.
200 */
201static int __init parse_elfcorehdr(char *arg)
202{
203 if (!arg)
204 return -EINVAL;
205
206 elfcorehdr_addr = memparse(arg, &arg);
207 return 0;
208}
209early_param("elfcorehdr", parse_elfcorehdr);
210#endif /* CONFIG_PROC_VMCORE */
211
212/* 196/*
213 * highmem=size forces highmem to be exactly 'size' bytes. 197 * highmem=size forces highmem to be exactly 'size' bytes.
214 * This works even on boxes that have no highmem otherwise. 198 * This works even on boxes that have no highmem otherwise.