Commit 3e00123a authored by Enlin Mu's avatar Enlin Mu Committed by Petr Mladek

printk: export symbols for debug modules

the module is out-of-tree, it saves kernel logs when panic
Signed-off-by: default avatarEnlin Mu <enlin.mu@unisoc.com>
Acked-by: default avatarPetr Mladek <pmladek@suse.com>
Reviewed-by: default avatarSergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20230815020711.2604939-1-yunlong.xing@unisoc.com
parent 92382d74
......@@ -536,12 +536,14 @@ char *log_buf_addr_get(void)
{
return log_buf;
}
EXPORT_SYMBOL_GPL(log_buf_addr_get);
/* Return log buffer size */
u32 log_buf_len_get(void)
{
return log_buf_len;
}
EXPORT_SYMBOL_GPL(log_buf_len_get);
/*
* Define how much of the log buffer we could take at maximum. The value
......
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