Switch to 1 MiB static log buffer in __log_buf[]: define __LOG_BUF_LEN (1 << CONFIG_LOG_BUF_SHIFT) static char __log_buf[__LOG_BUF_LEN] __aligned(LOG_ALIGN); instead of having the log buffer reallocated at boot by: setup_log_buf() log_buf_add_cpu() log_buf_len_update() new_log_buf = memblock_virt_alloc_nopanic() There is no need to do this reallocation for the log buffer. Change-Id: I8bf00b1fe45e9f6393e332e88642ee0c8a85ad7e Signed-off-by: Petri Gynther <pgynther@google.com>fourteen
parent
3e907728b2
commit
edbd8ebb7b
Loading…
Reference in new issue