Skip to content

Commit a0ddee6

Browse files
andy-shevpmladek
authored andcommitted
printk: Remove printk.h inclusion in percpu.h
After the commit 42a0bb3 ("printk/nmi: generic solution for safe printk in NMI") the printk.h is not needed anymore in percpu.h. Moreover `make headerdep` complains (an excerpt) In file included from linux/printk.h, from linux/dynamic_debug.h:188 from linux/printk.h:559 <-- here from linux/percpu.h:9 from linux/idr.h:17 include/net/9p/client.h:13: warning: recursive header inclusion Yeah, it's not a root cause of this, but removing will help to reduce the noise. Fixes: 42a0bb3 ("printk/nmi: generic solution for safe printk in NMI") Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Dennis Zhou <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 0aaa58e commit a0ddee6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/percpu.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include <linux/preempt.h>
77
#include <linux/smp.h>
88
#include <linux/cpumask.h>
9-
#include <linux/printk.h>
109
#include <linux/pfn.h>
1110
#include <linux/init.h>
1211

0 commit comments

Comments
 (0)