Revert "printk: export symbols for debug modules"

This reverts commit 3e00123a13.

No, we never export random symbols for out of tree modules.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20230905081902.321778-1-hch@lst.de
This commit is contained in:
Christoph Hellwig 2023-09-05 10:19:02 +02:00 committed by Petr Mladek
parent 3c31041e37
commit 4952801fc6

View File

@ -538,14 +538,12 @@ 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