Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48004
b: refs/heads/master
c: 9c00f76
h: refs/heads/master
v: v3
  • Loading branch information
Alon Bar-Lev authored and Linus Torvalds committed Feb 12, 2007
1 parent 2b6dbab commit 7404c8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87e1f9c6dcb4829fd8a68a3af87098cee8ef955b
refs/heads/master: 9c00f7613249b3b42782a226308353a4033c11c3
6 changes: 3 additions & 3 deletions trunk/arch/frv/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ unsigned long __initdata num_mappedpages;

struct cpuinfo_frv __nongprelbss boot_cpu_data;

char command_line[COMMAND_LINE_SIZE];
char __initdata command_line[COMMAND_LINE_SIZE];
char __initdata redboot_command_line[COMMAND_LINE_SIZE];

#ifdef CONFIG_PM
Expand Down Expand Up @@ -762,7 +762,7 @@ void __init setup_arch(char **cmdline_p)
printk("uClinux FR-V port done by Red Hat Inc <dhowells@redhat.com>\n");
#endif

memcpy(saved_command_line, redboot_command_line, COMMAND_LINE_SIZE);
memcpy(boot_command_line, redboot_command_line, COMMAND_LINE_SIZE);

determine_cpu();
determine_clocks(1);
Expand Down Expand Up @@ -803,7 +803,7 @@ void __init setup_arch(char **cmdline_p)
#endif

/* deal with the command line - RedBoot may have passed one to the kernel */
memcpy(command_line, saved_command_line, sizeof(command_line));
memcpy(command_line, boot_command_line, sizeof(command_line));
*cmdline_p = &command_line[0];
parse_cmdline_early(command_line);

Expand Down

0 comments on commit 7404c8a

Please sign in to comment.