* - dynamic-kernel-command-line-h8300.patch removed from -mm tree
@ 2007-02-12 22:47 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2007-02-12 22:47 UTC (permalink / raw)
To: alon.barlev, ysato, mm-commits
The patch titled
Dynamic kernel command-line: h8300
has been removed from the -mm tree. Its filename was
dynamic-kernel-command-line-h8300.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: Dynamic kernel command-line: h8300
From: Alon Bar-Lev <alon.barlev@gmail.com>
1. Rename saved_command_line into boot_command_line.
2. Set command_line as __initdata.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/h8300/kernel/setup.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -puN arch/h8300/kernel/setup.c~dynamic-kernel-command-line-h8300 arch/h8300/kernel/setup.c
--- a/arch/h8300/kernel/setup.c~dynamic-kernel-command-line-h8300
+++ a/arch/h8300/kernel/setup.c
@@ -54,7 +54,7 @@ unsigned long rom_length;
unsigned long memory_start;
unsigned long memory_end;
-char command_line[COMMAND_LINE_SIZE];
+char __initdata command_line[COMMAND_LINE_SIZE];
extern int _stext, _etext, _sdata, _edata, _sbss, _ebss, _end;
extern int _ramstart, _ramend;
@@ -154,8 +154,8 @@ void __init setup_arch(char **cmdline_p)
#endif
/* Keep a copy of command line */
*cmdline_p = &command_line[0];
- memcpy(saved_command_line, command_line, COMMAND_LINE_SIZE);
- saved_command_line[COMMAND_LINE_SIZE-1] = 0;
+ memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE);
+ boot_command_line[COMMAND_LINE_SIZE-1] = 0;
#ifdef DEBUG
if (strlen(*cmdline_p))
_
Patches currently in -mm which might be from alon.barlev@gmail.com are
origin.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-12 22:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 22:47 - dynamic-kernel-command-line-h8300.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.