summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-06-18 20:50:41 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-06-18 20:50:41 +0300
commit0f4022a490ad68846062186f481defd53be69743 (patch)
tree3c9f76f9f62460d97a1869a86e8188648784afb7 /kernel
parent944293bcee92acb1cfbbd315f833b4384bfd35fa (diff)
parent6262e1b906a1ba12688ea6039453b4a088dbaf44 (diff)
downloadlinux-0f4022a490ad68846062186f481defd53be69743.tar.xz
Merge tag 'printk-for-5.13-fixup' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux
Pull printk fixup from Petr Mladek: "Fix misplaced EXPORT_SYMBOL(vsprintf)" * tag 'printk-for-5.13-fixup' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux: printk: Move EXPORT_SYMBOL() closer to vprintk definition
Diffstat (limited to 'kernel')
-rw-r--r--kernel/printk/printk_safe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printk/printk_safe.c b/kernel/printk/printk_safe.c
index 7a1414622051..94232186fccb 100644
--- a/kernel/printk/printk_safe.c
+++ b/kernel/printk/printk_safe.c
@@ -391,6 +391,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
/* No obstacles. */
return vprintk_default(fmt, args);
}
+EXPORT_SYMBOL(vprintk);
void __init printk_safe_init(void)
{
@@ -411,4 +412,3 @@ void __init printk_safe_init(void)
/* Flush pending messages that did not have scheduled IRQ works. */
printk_safe_flush();
}
-EXPORT_SYMBOL(vprintk);