diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2009-09-23 12:50:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-23 13:46:30 -0400 |
commit | 9b2619aff0332e95ea5eb7a0d75b0208818d871c (patch) | |
tree | a1aed182c4f1ec511352c0e3cb3eba0e20535263 /kernel/rcutree.c | |
parent | 1eba8f84380bede3c602bd7758dea96925cead01 (diff) |
rcu: Clean up code to address Ingo's checkpatch feedback
Move declarations and update storage classes to make checkpatch happy.
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: josh@joshtriplett.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: Valdis.Kletnieks@vt.edu
Cc: dhowells@redhat.com
LKML-Reference: <12537246441701-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 53a5ef0ca911..8e52cde7b8f7 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -81,29 +81,6 @@ DEFINE_PER_CPU(struct rcu_data, rcu_sched_data); | |||
81 | struct rcu_state rcu_bh_state = RCU_STATE_INITIALIZER(rcu_bh_state); | 81 | struct rcu_state rcu_bh_state = RCU_STATE_INITIALIZER(rcu_bh_state); |
82 | DEFINE_PER_CPU(struct rcu_data, rcu_bh_data); | 82 | DEFINE_PER_CPU(struct rcu_data, rcu_bh_data); |
83 | 83 | ||
84 | /* Forward declarations for rcutree_plugin.h */ | ||
85 | static inline void rcu_bootup_announce(void); | ||
86 | long rcu_batches_completed(void); | ||
87 | static void rcu_preempt_note_context_switch(int cpu); | ||
88 | static int rcu_preempted_readers(struct rcu_node *rnp); | ||
89 | #ifdef CONFIG_RCU_CPU_STALL_DETECTOR | ||
90 | static void rcu_print_task_stall(struct rcu_node *rnp); | ||
91 | #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ | ||
92 | static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp); | ||
93 | #ifdef CONFIG_HOTPLUG_CPU | ||
94 | static void rcu_preempt_offline_tasks(struct rcu_state *rsp, | ||
95 | struct rcu_node *rnp, | ||
96 | struct rcu_data *rdp); | ||
97 | static void rcu_preempt_offline_cpu(int cpu); | ||
98 | #endif /* #ifdef CONFIG_HOTPLUG_CPU */ | ||
99 | static void rcu_preempt_check_callbacks(int cpu); | ||
100 | static void rcu_preempt_process_callbacks(void); | ||
101 | void call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu)); | ||
102 | static int rcu_preempt_pending(int cpu); | ||
103 | static int rcu_preempt_needs_cpu(int cpu); | ||
104 | static void __cpuinit rcu_preempt_init_percpu_data(int cpu); | ||
105 | static void __init __rcu_init_preempt(void); | ||
106 | |||
107 | 84 | ||
108 | /* | 85 | /* |
109 | * Return true if an RCU grace period is in progress. The ACCESS_ONCE()s | 86 | * Return true if an RCU grace period is in progress. The ACCESS_ONCE()s |