提交 79615760 编写于 作者: C Christoph Lameter 提交者: Tejun Heo

local_t: Move local.h include to ringbuffer.c and ring_buffer_benchmark.c

ringbuffer*.c are the last users of local.h.

Remove the include from modules.h and add it to ringbuffer files.
Signed-off-by: NChristoph Lameter <cl@linux-foundation.org>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 e1783a24
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <linux/tracepoint.h> #include <linux/tracepoint.h>
#include <asm/local.h>
#include <linux/percpu.h> #include <linux/percpu.h>
#include <asm/module.h> #include <asm/module.h>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <linux/cpu.h> #include <linux/cpu.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <asm/local.h>
#include "trace.h" #include "trace.h"
/* /*
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <linux/kthread.h> #include <linux/kthread.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/time.h> #include <linux/time.h>
#include <asm/local.h>
struct rb_page { struct rb_page {
u64 ts; u64 ts;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册