Skip to content

Commit

Permalink
local_t: Move local.h include to ringbuffer.c and ring_buffer_benchma…
Browse files Browse the repository at this point in the history
…rk.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: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
  • Loading branch information
Christoph Lameter authored and Tejun Heo committed Jan 5, 2010
1 parent e1783a2 commit 7961576
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <linux/moduleparam.h>
#include <linux/tracepoint.h>

#include <asm/local.h>
#include <linux/percpu.h>
#include <asm/module.h>

Expand Down
1 change: 1 addition & 0 deletions kernel/trace/ring_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <linux/cpu.h>
#include <linux/fs.h>

#include <asm/local.h>
#include "trace.h"

/*
Expand Down
1 change: 1 addition & 0 deletions kernel/trace/ring_buffer_benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7961576

Please sign in to comment.