On Thu, Nov 17, 2016 at 05:31:55PM +0100, Thomas Gleixner wrote:
> --- a/kernel/printk/printk.c
> +++ b/kernel/printk/printk.c
> @@ -2194,8 +2194,10 @@ void resume_console(void)
>   */
>  static int console_cpu_notify(unsigned int cpu)
>  {
> -     console_lock();
> -     console_unlock();
> +     if (!cpuhp_tasks_frozen) {
> +             console_lock();
> +             console_unlock();
> +     }
>       return 0;
>  }

Reported-and-tested-by: Borislav Petkov <[email protected]>

-- 
Regards/Gruss,
    Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

Reply via email to