diff options
author | Jeremy Kerr <jeremy.kerr@canonical.com> | 2010-01-26 19:13:31 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-15 16:39:50 -0500 |
commit | 48ab7e09e0a7c00a217f87e4b57dfbee9c603e79 (patch) | |
tree | e1bbd2c0c1d3c796881c13141acda52ed6a69c76 | |
parent | c5113b61baf7a9a8616eca83e20847e7fecdc679 (diff) |
ARM: 5906/1: arm: change command_line to cmd_line
drivers/of/fdt expects a cmd_line symbol, while arm uses command_line.
Change to the former, so that we can eventually share with the fdt
code.
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/kernel/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index b01a56a03ed8..baf5959d639a 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -118,7 +118,7 @@ EXPORT_SYMBOL(elf_platform); | |||
118 | 118 | ||
119 | static const char *cpu_name; | 119 | static const char *cpu_name; |
120 | static const char *machine_name; | 120 | static const char *machine_name; |
121 | static char __initdata command_line[COMMAND_LINE_SIZE]; | 121 | static char __initdata cmd_line[COMMAND_LINE_SIZE]; |
122 | 122 | ||
123 | static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE; | 123 | static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE; |
124 | static union { char c[4]; unsigned long l; } endian_test __initdata = { { 'l', '?', '?', 'b' } }; | 124 | static union { char c[4]; unsigned long l; } endian_test __initdata = { { 'l', '?', '?', 'b' } }; |
@@ -707,9 +707,9 @@ void __init setup_arch(char **cmdline_p) | |||
707 | /* parse_early_param needs a boot_command_line */ | 707 | /* parse_early_param needs a boot_command_line */ |
708 | strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); | 708 | strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); |
709 | 709 | ||
710 | /* populate command_line too for later use, preserving boot_command_line */ | 710 | /* populate cmd_line too for later use, preserving boot_command_line */ |
711 | strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); | 711 | strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); |
712 | *cmdline_p = command_line; | 712 | *cmdline_p = cmd_line; |
713 | 713 | ||
714 | parse_early_param(); | 714 | parse_early_param(); |
715 | 715 | ||