Commit ff872daa authored by Josh Triplett's avatar Josh Triplett Committed by Ben Hutchings

init/Kconfig: Hide printk log config if CONFIG_PRINTK=n

commit 361e9dfb upstream.

The buffers sized by CONFIG_LOG_BUF_SHIFT and
CONFIG_LOG_CPU_MAX_BUF_SHIFT do not exist if CONFIG_PRINTK=n, so don't
ask about their size at all.
Signed-off-by: default avatarJosh Triplett <josh@joshtriplett.org>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
[bwh: Backported to 3.2: drop change to CONFIG_LOG_CPU_MAX_BUF_SHIFT]
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 96cb09b8
...@@ -555,6 +555,7 @@ config LOG_BUF_SHIFT ...@@ -555,6 +555,7 @@ config LOG_BUF_SHIFT
int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
range 12 21 range 12 21
default 17 default 17
depends on PRINTK
help help
Select kernel log buffer size as a power of 2. Select kernel log buffer size as a power of 2.
Examples: Examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment