diff options
| author | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-10-13 18:51:11 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-13 20:18:12 -0400 |
| commit | 2240a31db67582468e2f7a5a5962b7d0ffaaa6a4 (patch) | |
| tree | 5a061c2ca769ba610df8471b08ee4d6b7f0cf02f /init | |
| parent | de9e14eebf33a60712a52a0bc6e08c043c0aba53 (diff) | |
printk: don't bother using LOG_CPU_MAX_BUF_SHIFT on !SMP
When configuring a uniprocessor kernel, don't bother the user with an
irrelevant LOG_CPU_MAX_BUF_SHIFT question, and don't build the unused
code.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
| -rw-r--r-- | init/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 1c505e090422..3ee28ae02cc8 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
| @@ -838,6 +838,7 @@ config LOG_BUF_SHIFT | |||
| 838 | 838 | ||
| 839 | config LOG_CPU_MAX_BUF_SHIFT | 839 | config LOG_CPU_MAX_BUF_SHIFT |
| 840 | int "CPU kernel log buffer size contribution (13 => 8 KB, 17 => 128KB)" | 840 | int "CPU kernel log buffer size contribution (13 => 8 KB, 17 => 128KB)" |
| 841 | depends on SMP | ||
| 841 | range 0 21 | 842 | range 0 21 |
| 842 | default 12 if !BASE_SMALL | 843 | default 12 if !BASE_SMALL |
| 843 | default 0 if BASE_SMALL | 844 | default 0 if BASE_SMALL |
