diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-09-01 00:54:14 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-09-01 00:54:14 -0400 |
commit | ac6a0cf6716bb46813d0161024c66c2af66e53d1 (patch) | |
tree | c7f53b1a04c590032c022549f3186fb9b04f8358 /arch/sh/kernel/setup.c | |
parent | e76a0136a3cf1859fbc07f122e42293d22229558 (diff) | |
parent | ce3f7cb96e67d6518c7fc7b361a76409c3817d64 (diff) |
Merge branch 'master' into sh/smp
Conflicts:
arch/sh/mm/cache-sh4.c
Diffstat (limited to 'arch/sh/kernel/setup.c')
-rw-r--r-- | arch/sh/kernel/setup.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index dc403e42bcab..f9d44f8e0df6 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -405,10 +405,14 @@ void __init setup_arch(char **cmdline_p) | |||
405 | if (!memory_end) | 405 | if (!memory_end) |
406 | memory_end = memory_start + __MEMORY_SIZE; | 406 | memory_end = memory_start + __MEMORY_SIZE; |
407 | 407 | ||
408 | #ifdef CONFIG_CMDLINE_BOOL | 408 | #ifdef CONFIG_CMDLINE_OVERWRITE |
409 | strlcpy(command_line, CONFIG_CMDLINE, sizeof(command_line)); | 409 | strlcpy(command_line, CONFIG_CMDLINE, sizeof(command_line)); |
410 | #else | 410 | #else |
411 | strlcpy(command_line, COMMAND_LINE, sizeof(command_line)); | 411 | strlcpy(command_line, COMMAND_LINE, sizeof(command_line)); |
412 | #ifdef CONFIG_CMDLINE_EXTEND | ||
413 | strlcat(command_line, " ", sizeof(command_line)); | ||
414 | strlcat(command_line, CONFIG_CMDLINE, sizeof(command_line)); | ||
415 | #endif | ||
412 | #endif | 416 | #endif |
413 | 417 | ||
414 | /* Save unparsed command line copy for /proc/cmdline */ | 418 | /* Save unparsed command line copy for /proc/cmdline */ |
@@ -482,7 +486,7 @@ static const char *cpu_name[] = { | |||
482 | [CPU_SH7763] = "SH7763", [CPU_SH7770] = "SH7770", | 486 | [CPU_SH7763] = "SH7763", [CPU_SH7770] = "SH7770", |
483 | [CPU_SH7780] = "SH7780", [CPU_SH7781] = "SH7781", | 487 | [CPU_SH7780] = "SH7780", [CPU_SH7781] = "SH7781", |
484 | [CPU_SH7343] = "SH7343", [CPU_SH7785] = "SH7785", | 488 | [CPU_SH7343] = "SH7343", [CPU_SH7785] = "SH7785", |
485 | [CPU_SH7786] = "SH7786", | 489 | [CPU_SH7786] = "SH7786", [CPU_SH7757] = "SH7757", |
486 | [CPU_SH7722] = "SH7722", [CPU_SHX3] = "SH-X3", | 490 | [CPU_SH7722] = "SH7722", [CPU_SHX3] = "SH-X3", |
487 | [CPU_SH5_101] = "SH5-101", [CPU_SH5_103] = "SH5-103", | 491 | [CPU_SH5_101] = "SH5-101", [CPU_SH5_103] = "SH5-103", |
488 | [CPU_MXG] = "MX-G", [CPU_SH7723] = "SH7723", | 492 | [CPU_MXG] = "MX-G", [CPU_SH7723] = "SH7723", |