[patch 18/26] Dynamic kernel command-line - s390

Bernhard Walle
2007-01-18T13:04:54Z

[-- Attachment #1: dynamic-kernel-command-line-s390.diff --]
[-- Type: text/plain, Size: 766 bytes --]

Rename saved_command_line into boot_command_line.

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

---
arch/s390/kernel/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.20-rc4-mm1/arch/s390/kernel/setup.c
===================================================================
--- linux-2.6.20-rc4-mm1.orig/arch/s390/kernel/setup.c
+++ linux-2.6.20-rc4-mm1/arch/s390/kernel/setup.c
@@ -625,7 +625,7 @@ setup_arch(char **cmdline_p)
#endif /* CONFIG_64BIT */

/* Save unparsed command line copy for /proc/cmdline */
- strlcpy(saved_command_line, COMMAND_LINE, COMMAND_LINE_SIZE);
+ strlcpy(boot_command_line, COMMAND_LINE, COMMAND_LINE_SIZE);

*cmdline_p = COMMAND_LINE;
*(*cmdline_p + COMMAND_LINE_SIZE - 1) = '\0';

--