]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit658faa274581c5539af52f0200b41c01728fc751
tree5a061c2ca769ba610df8471b08ee4d6b7f0cf02f
parent971b1f7fe1b4d5b92254513a95cc15f1f0330922
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