Messages in this thread | | | Date | Thu, 17 Nov 2016 18:04:58 +0100 | From | Borislav Petkov <> | Subject | Re: lockdep splat during suspend |
| |
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 <bp@suse.de>
-- Regards/Gruss, Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
| |