Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145545
b: refs/heads/master
c: e082f18
h: refs/heads/master
i:
  145543: 8986ee7
v: v3
  • Loading branch information
Ralf Baechle committed Jun 8, 2009
1 parent 111883b commit 30d1143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: e36b80b658d471be5a8a40f00e2c7614524b86a2
refs/heads/master: e082f188f774544bc2c2edf51176157503c98fe4
8 changes: 1 addition & 7 deletions trunk/arch/mips/sibyte/cfe/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,7 @@ void __init prom_init(void)
*/
cfe_cons_handle = cfe_getstdhandle(CFE_STDHANDLE_CONSOLE);
if (cfe_getenv("LINUX_CMDLINE", arcs_cmdline, CL_SIZE) < 0) {
if (argc < 0) {
/*
* It's OK for direct boot to not provide a
* command line
*/
strcpy(arcs_cmdline, "root=/dev/ram0 ");
} else {
if (argc >= 0) {
/* The loader should have set the command line */
/* too early for panic to do any good */
printk("LINUX_CMDLINE not defined in cfe.");
Expand Down

0 comments on commit 30d1143

Please sign in to comment.