aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/setup.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-05-10 22:53:11 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-05-10 22:53:11 -0400
commit15f2a7967a46c7fab579ab88b9f1e0c7f78ac495 (patch)
tree98d9638bc382de772a6cfd0a4d8b697e3e10ff48 /arch/sh/kernel/setup.c
parent4f615d575c17195f975cf8314be54f362d859a3f (diff)
parent7aed3b34fb0a98e89d0e999f5833ceebdb3876b9 (diff)
Merge branches 'sh/clkfwk' and 'sh/kexec'
Diffstat (limited to 'arch/sh/kernel/setup.c')
-rw-r--r--arch/sh/kernel/setup.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index 9c7f7811af70..4f1585f41f2b 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -380,25 +380,6 @@ static void __init setup_memory(void)
380extern void __init setup_memory(void); 380extern void __init setup_memory(void);
381#endif 381#endif
382 382
383/*
384 * Note: elfcorehdr_addr is not just limited to vmcore. It is also used by
385 * is_kdump_kernel() to determine if we are booting after a panic. Hence
386 * ifdef it under CONFIG_CRASH_DUMP and not CONFIG_PROC_VMCORE.
387 */
388#ifdef CONFIG_CRASH_DUMP
389/* elfcorehdr= specifies the location of elf core header
390 * stored by the crashed kernel.
391 */
392static int __init parse_elfcorehdr(char *arg)
393{
394 if (!arg)
395 return -EINVAL;
396 elfcorehdr_addr = memparse(arg, &arg);
397 return 0;
398}
399early_param("elfcorehdr", parse_elfcorehdr);
400#endif
401
402void __init __attribute__ ((weak)) plat_early_device_setup(void) 383void __init __attribute__ ((weak)) plat_early_device_setup(void)
403{ 384{
404} 385}