From: Steven Rostedt (Red Hat) Date: Fri, 21 Nov 2014 14:16:58 +0000 (-0500) Subject: printk/percpu: Define printk_func when printk is not defined X-Git-Tag: omap-for-v3.20/drop-legacy-3517~136^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04b74b27c2941e5d62120f6fee3a0a9388a30613;p=pandora-kernel.git printk/percpu: Define printk_func when printk is not defined To avoid include hell, the per_cpu variable printk_func was declared in percpu.h. But it is only defined if printk is defined. As users of printk may also use the printk_func variable, it needs to be defined even if CONFIG_PRINTK is not. Also add a printk.h include in percpu.h just to be safe. Link: http://lkml.kernel.org/r/20141121183215.01ba539c@canb.auug.org.au Reported-by: Stephen Rothwell Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed