proc: revert /proc/<pid>/maps [stack:TID] annotation
[firefly-linux-kernel-4.4.55.git] / include / linux / percpu.h
index a3aa63e47637c9dc9bfa77a1166aadf67df3b158..caebf2a758dc0e573d7e5dc76b916dc7cb639ea3 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/preempt.h>
 #include <linux/smp.h>
 #include <linux/cpumask.h>
+#include <linux/printk.h>
 #include <linux/pfn.h>
 #include <linux/init.h>
 
@@ -134,4 +135,7 @@ extern phys_addr_t per_cpu_ptr_to_phys(void *addr);
        (typeof(type) __percpu *)__alloc_percpu(sizeof(type),           \
                                                __alignof__(type))
 
+/* To avoid include hell, as printk can not declare this, we declare it here */
+DECLARE_PER_CPU(printk_func_t, printk_func);
+
 #endif /* __LINUX_PERCPU_H */