[PATCH 22/26] Dynamic kernel command-line - sparc64

From: Alon Bar-Lev
Date: Sun Sep 03 2006 - 18:07:50 EST



Rename saved_command_line into boot_command_line.

Signed-off-by: Alon Bar-Lev <alon.barlev@xxxxxxxxx>

---

diff -urNp
linux-2.6.18-rc5-mm1.org/arch/sparc64/kernel/setup.c
linux-2.6.18-rc5-mm1/arch/sparc64/kernel/setup.c
--- linux-2.6.18-rc5-mm1.org/arch/sparc64/kernel/setup.c
2006-09-03 18:55:19.000000000 +0300
+++ linux-2.6.18-rc5-mm1/arch/sparc64/kernel/setup.c
2006-09-03 19:47:59.000000000 +0300
@@ -327,7 +327,7 @@ void __init setup_arch(char **cmdline_p)
{
/* Initialize PROM console and command line. */
*cmdline_p = prom_getbootargs();
- strcpy(saved_command_line, *cmdline_p);
+ strcpy(boot_command_line, *cmdline_p);

if (tlb_type == hypervisor)
printk("ARCH: SUN4V\n");
diff -urNp
linux-2.6.18-rc5-mm1.org/arch/sparc64/kernel/sparc64_ksyms.c
linux-2.6.18-rc5-mm1/arch/sparc64/kernel/sparc64_ksyms.c
---
linux-2.6.18-rc5-mm1.org/arch/sparc64/kernel/sparc64_ksyms.c
2006-09-03 18:55:19.000000000 +0300
+++ linux-2.6.18-rc5-mm1/arch/sparc64/kernel/sparc64_ksyms.c
2006-09-03 19:47:59.000000000 +0300
@@ -253,7 +253,7 @@ EXPORT_SYMBOL(prom_getproplen);
EXPORT_SYMBOL(prom_getproperty);
EXPORT_SYMBOL(prom_node_has_property);
EXPORT_SYMBOL(prom_setprop);
-EXPORT_SYMBOL(saved_command_line);
+EXPORT_SYMBOL(boot_command_line);
EXPORT_SYMBOL(prom_finddevice);
EXPORT_SYMBOL(prom_feval);
EXPORT_SYMBOL(prom_getbool);

--
VGER BF report: U 0.478104
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/