]> 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)
commit6d0b9457980016fff8468b632c8083018f410478
tree5a061c2ca769ba610df8471b08ee4d6b7f0cf02f
parentb8b774db97f5bdb14ee36e9b26d9e4fdc60d2fb0
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