Skip to content

Commit

Permalink
[PATCH] x86_64: don't copy command line twice
Browse files Browse the repository at this point in the history
... reducing the amount of changes Xen has to do.

Signed-Off-By: Jan Beulich <jbeulich@novell.com>

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Jan 12, 2006
1 parent 2a2d592 commit 256ddb0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86_64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,6 @@ static __init void parse_cmdline_early (char ** cmdline_p)
int len = 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 (;;) {
if (c != ' ')
goto next_char;
Expand Down

0 comments on commit 256ddb0

Please sign in to comment.