mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
printk: reduce LOG_BUF_SHIFT range for H8300
[ Upstream commit 550c10d28d
]
The .bss section for the h8300 is relatively small. A value of
CONFIG_LOG_BUF_SHIFT that is larger than 19 will create a static
printk ringbuffer that is too large. Limit the range appropriately
for the H8300.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200812073122.25412-1-john.ogness@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
9ef54f898a
commit
f8cbb02930
1 changed files with 2 additions and 1 deletions
|
@ -500,7 +500,8 @@ config IKCONFIG_PROC
|
||||||
|
|
||||||
config LOG_BUF_SHIFT
|
config LOG_BUF_SHIFT
|
||||||
int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
|
int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
|
||||||
range 12 25
|
range 12 25 if !H8300
|
||||||
|
range 12 19 if H8300
|
||||||
default 17
|
default 17
|
||||||
depends on PRINTK
|
depends on PRINTK
|
||||||
help
|
help
|
||||||
|
|
Loading…
Reference in a new issue