Skip to content

Commit 4952801

Browse files
Christoph Hellwigpmladek
authored andcommitted
Revert "printk: export symbols for debug modules"
This reverts commit 3e00123. 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
1 parent 3c31041 commit 4952801

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/printk/printk.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,14 +538,12 @@ char *log_buf_addr_get(void)
538538
{
539539
return log_buf;
540540
}
541-
EXPORT_SYMBOL_GPL(log_buf_addr_get);
542541

543542
/* Return log buffer size */
544543
u32 log_buf_len_get(void)
545544
{
546545
return log_buf_len;
547546
}
548-
EXPORT_SYMBOL_GPL(log_buf_len_get);
549547

550548
/*
551549
* Define how much of the log buffer we could take at maximum. The value

0 commit comments

Comments
 (0)