Commit 256ddb01 authored by Jan Beulich's avatar Jan Beulich Committed by Linus Torvalds

[PATCH] x86_64: don't copy command line twice

... reducing the amount of changes Xen has to do.
Signed-Off-By: default avatarJan Beulich <jbeulich@novell.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2a2d5924
...@@ -277,10 +277,6 @@ static __init void parse_cmdline_early (char ** cmdline_p) ...@@ -277,10 +277,6 @@ static __init void parse_cmdline_early (char ** cmdline_p)
int len = 0; int len = 0;
int userdef = 0; int userdef = 0;
/* Save unparsed command line copy for /proc/cmdline */
memcpy(saved_command_line, COMMAND_LINE, COMMAND_LINE_SIZE);
saved_command_line[COMMAND_LINE_SIZE-1] = '\0';
for (;;) { for (;;) {
if (c != ' ') if (c != ' ')
goto next_char; goto next_char;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment