]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
local_t: Move local.h include to ringbuffer.c and ring_buffer_benchmark.c
authorChristoph Lameter <cl@linux-foundation.org>
Tue, 5 Jan 2010 06:34:50 +0000 (15:34 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 5 Jan 2010 06:34:50 +0000 (15:34 +0900)
ringbuffer*.c are the last users of local.h.

Remove the include from modules.h and add it to ringbuffer files.

Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/module.h
kernel/trace/ring_buffer.c
kernel/trace/ring_buffer_benchmark.c

index 2302f09ea2d9e1d1d6222d8819a43be6e10611f0..7e74ae0051cc9e734bb6485deb1e79fde077271d 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/moduleparam.h>
 #include <linux/tracepoint.h>
 
-#include <asm/local.h>
 #include <linux/percpu.h>
 #include <asm/module.h>
 
index 2326b04c95c493fec48418746c0194980ad4b4fa..eb6c8988c31a835e28ef4b5de9c25296bab3bb0f 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/cpu.h>
 #include <linux/fs.h>
 
+#include <asm/local.h>
 #include "trace.h"
 
 /*
index b2477caf09c2dce12890147bd4a57bfd12cd3010..df74c7982255ba1c5095371e1ca3fd5369d3f3c2 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/kthread.h>
 #include <linux/module.h>
 #include <linux/time.h>
+#include <asm/local.h>
 
 struct rb_page {
        u64             ts;