Commit 0f4022a4 authored by Linus Torvalds's avatar Linus Torvalds

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
parents 944293bc 6262e1b9
...@@ -391,6 +391,7 @@ asmlinkage int vprintk(const char *fmt, va_list args) ...@@ -391,6 +391,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
/* No obstacles. */ /* No obstacles. */
return vprintk_default(fmt, args); return vprintk_default(fmt, args);
} }
EXPORT_SYMBOL(vprintk);
void __init printk_safe_init(void) void __init printk_safe_init(void)
{ {
...@@ -411,4 +412,3 @@ 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. */ /* Flush pending messages that did not have scheduled IRQ works. */
printk_safe_flush(); printk_safe_flush();
} }
EXPORT_SYMBOL(vprintk);
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