diff options
author | John Ogness <[email protected]> | 2020-08-12 09:37:22 +0206 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2020-09-08 09:33:15 +0200 |
commit | 550c10d28d21bd82a8bb48debbb27e6ed53262f6 (patch) | |
tree | 92bfd9f3f435334465d012aefd61572b83750446 | |
parent | d397820f36ffe4701343b6ee12687d60db0ed8db (diff) |
printk: reduce LOG_BUF_SHIFT range for H8300
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 <[email protected]>
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Acked-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | init/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig index a46aa8f3174d..485f7e53a8a5 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -654,7 +654,8 @@ config IKHEADERS config LOG_BUF_SHIFT int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" - range 12 25 + range 12 25 if !H8300 + range 12 19 if H8300 default 17 depends on PRINTK help |