mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
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>
This commit is contained in:
committed by
Linus Torvalds
parent
de9e14eebf
commit
2240a31db6
@@ -838,6 +838,7 @@ config LOG_BUF_SHIFT
|
||||
|
||||
config LOG_CPU_MAX_BUF_SHIFT
|
||||
int "CPU kernel log buffer size contribution (13 => 8 KB, 17 => 128KB)"
|
||||
depends on SMP
|
||||
range 0 21
|
||||
default 12 if !BASE_SMALL
|
||||
default 0 if BASE_SMALL
|
||||
|
||||
Reference in New Issue
Block a user