diff options
Diffstat (limited to 'arch/mips/sibyte/common/cfe.c')
| -rw-r--r-- | arch/mips/sibyte/common/cfe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sibyte/common/cfe.c b/arch/mips/sibyte/common/cfe.c index eb5396cf81b..6343011e990 100644 --- a/arch/mips/sibyte/common/cfe.c +++ b/arch/mips/sibyte/common/cfe.c | |||
| @@ -287,7 +287,7 @@ void __init prom_init(void) | |||
| 287 | * boot console | 287 | * boot console |
| 288 | */ | 288 | */ |
| 289 | cfe_cons_handle = cfe_getstdhandle(CFE_STDHANDLE_CONSOLE); | 289 | cfe_cons_handle = cfe_getstdhandle(CFE_STDHANDLE_CONSOLE); |
| 290 | if (cfe_getenv("LINUX_CMDLINE", arcs_cmdline, CL_SIZE) < 0) { | 290 | if (cfe_getenv("LINUX_CMDLINE", arcs_cmdline, COMMAND_LINE_SIZE) < 0) { |
| 291 | if (argc >= 0) { | 291 | if (argc >= 0) { |
| 292 | /* The loader should have set the command line */ | 292 | /* The loader should have set the command line */ |
| 293 | /* too early for panic to do any good */ | 293 | /* too early for panic to do any good */ |
| @@ -318,7 +318,7 @@ void __init prom_init(void) | |||
| 318 | #endif /* CONFIG_BLK_DEV_INITRD */ | 318 | #endif /* CONFIG_BLK_DEV_INITRD */ |
| 319 | 319 | ||
| 320 | /* Not sure this is needed, but it's the safe way. */ | 320 | /* Not sure this is needed, but it's the safe way. */ |
| 321 | arcs_cmdline[CL_SIZE-1] = 0; | 321 | arcs_cmdline[COMMAND_LINE_SIZE-1] = 0; |
| 322 | 322 | ||
| 323 | prom_meminit(); | 323 | prom_meminit(); |
| 324 | 324 | ||
