printk: don't bother using LOG_CPU_MAX_BUF_SHIFT on !SMP
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 13 Oct 2014 22:51:11 +0000 (15:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:12 +0000 (02:18 +0200)
commit2240a31db67582468e2f7a5a5962b7d0ffaaa6a4
tree5a061c2ca769ba610df8471b08ee4d6b7f0cf02f
parentde9e14eebf33a60712a52a0bc6e08c043c0aba53
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>
init/Kconfig
kernel/printk/printk.c