aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2009-08-22 16:56:45 -0400
committerIngo Molnar <mingo@elte.hu>2009-08-23 04:32:36 -0400
commit9f77da9f40045253e91f55c12d4481254b513d2d (patch)
tree8699c413d1493855ca8b1205e1b63090f568af42 /kernel/rcutree.c
parentb560d8ad8583803978aaaeba50ef29dc8e97a610 (diff)
rcu: Move private definitions from include/linux/rcutree.h to kernel/rcutree.h
Some information hiding that makes it easier to merge preemptability into rcutree without descending into #include hell. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: laijs@cn.fujitsu.com Cc: dipankar@in.ibm.com Cc: akpm@linux-foundation.org Cc: mathieu.desnoyers@polymtl.ca Cc: josht@linux.vnet.ibm.com Cc: dvhltc@us.ibm.com Cc: niv@us.ibm.com Cc: peterz@infradead.org Cc: rostedt@goodmis.org LKML-Reference: <1250974613373-git-send-email-> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index 75762cddbe03..a162f859dd32 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -46,6 +46,8 @@
46#include <linux/mutex.h> 46#include <linux/mutex.h>
47#include <linux/time.h> 47#include <linux/time.h>
48 48
49#include "rcutree.h"
50
49#ifdef CONFIG_DEBUG_LOCK_ALLOC 51#ifdef CONFIG_DEBUG_LOCK_ALLOC
50static struct lock_class_key rcu_lock_key; 52static struct lock_class_key rcu_lock_key;
51struct lockdep_map rcu_lock_map = 53struct lockdep_map rcu_lock_map =