From: Steven Rostedt (Red Hat) Date: Thu, 11 Dec 2014 14:12:01 +0000 (-0500) Subject: printk: Do not disable preemption for accessing printk_func X-Git-Tag: omap-for-v3.20/drop-legacy-3517~93^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fb8915b9876a80f43732980208b39d013f8da9d;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed