aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2011-06-21 04:59:33 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-09-29 00:38:18 -0400
commiteab0993c7ba5c7d9b3613d6037e0f31f0ccbe181 (patch)
tree9f37a94506e2c58d7d0139374bc21b64b9e073ed /kernel/rcutree.h
parente0f23060adfa3f27beaa7918eff70258b88471b6 (diff)
rcu: Move RCU_BOOST declarations to allow compiler checking
Andi Kleen noticed that one of the RCU_BOOST data declarations was out of sync with the definition. Move the declarations so that the compiler can do the checking in the future. Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.h')
-rw-r--r--kernel/rcutree.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/rcutree.h b/kernel/rcutree.h
index 01b2ccda26fb..eee6c9406b46 100644
--- a/kernel/rcutree.h
+++ b/kernel/rcutree.h
@@ -417,6 +417,13 @@ extern struct rcu_state rcu_preempt_state;
417DECLARE_PER_CPU(struct rcu_data, rcu_preempt_data); 417DECLARE_PER_CPU(struct rcu_data, rcu_preempt_data);
418#endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ 418#endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */
419 419
420#ifdef CONFIG_RCU_BOOST
421DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_status);
422DECLARE_PER_CPU(int, rcu_cpu_kthread_cpu);
423DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_loops);
424DECLARE_PER_CPU(char, rcu_cpu_has_work);
425#endif /* #ifdef CONFIG_RCU_BOOST */
426
420#ifndef RCU_TREE_NONCORE 427#ifndef RCU_TREE_NONCORE
421 428
422/* Forward declarations for rcutree_plugin.h */ 429/* Forward declarations for rcutree_plugin.h */