diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-12-11 17:12:01 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-12-11 17:12:01 +0300 |
commit | 1fb8915b9876a80f43732980208b39d013f8da9d (patch) | |
tree | 73a82f42c9601dd1155092ff7283476fe9d625e6 /Documentation/block | |
parent | db0865543739b3edb2ee9bf340380cf4986b58ff (diff) | |
download | linux-1fb8915b9876a80f43732980208b39d013f8da9d.tar.xz |
printk: Do not disable preemption for accessing printk_func
As printk_func will either be the default function, or a per_cpu function
for the current CPU, there's no reason to disable preemption to access
it from printk. That's because if the printk_func is not the default
then the caller had better disabled preemption as they were the one to
change it.
Link: http://lkml.kernel.org/r/CA+55aFz5-_LKW4JHEBoWinN9_ouNcGRWAF2FUA35u46FRN-Kxw@mail.gmail.com
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions