Re: [RFC][PATCH 1/6] printk: move printk_safe macros to printk header

From: Sergey Senozhatsky
Date: Mon Jun 18 2018 - 02:27:41 EST


On (06/15/18 18:39), Sergey Senozhatsky wrote:
> Make printk_safe_enter_irqsave()/etc macros available to the
> rest of the kernel, so we can use them in TTY and UART code.

Sorry, this patch is incomplete. Since we are going to use printk_safe()
API in modules (serial console drivers) printk_safe() functions [enter and
exit] must be exported via EXPORT_SYMBOL_GPL().

-ss