aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorSergey Senozhatsky <[email protected]>2017-02-06 16:42:53 +0000
committerPetr Mladek <[email protected]>2017-02-08 10:19:10 +0000
commit7acac3445acde1c94054cde69ab53503d296c393 (patch)
tree53508c90b09a00631899d2bf8aeddeee3de23bbd /scripts/gcc-plugins/cyc_complexity_plugin.c
parentprintk: introduce per-cpu safe_print seq buffer (diff)
downloadkernel-7acac3445acde1c94054cde69ab53503d296c393.tar.gz
kernel-7acac3445acde1c94054cde69ab53503d296c393.zip
printk: always use deferred printk when flush printk_safe lines
Always use printk_deferred() in printk_safe_flush_line(). Flushing can be done from NMI or printk_safe contexts (when we are in panic), so we can't call console drivers, yet still want to store the messages in the logbuf buffer. Therefore we use a deferred printk version. Link: http://lkml.kernel.org/r/[email protected] Cc: Andrew Morton <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Jan Kara <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Calvin Owens <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Peter Hurley <[email protected]> Cc: [email protected] Signed-off-by: Sergey Senozhatsky <[email protected]> Suggested-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions