diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2009-08-25 11:40:25 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-25 14:20:03 -0400 |
commit | c935a331c8f569c7903ed26a3994a70cbea1802e (patch) | |
tree | e60c2920c077a77a1921b9b9ad024a55f745a55c /kernel | |
parent | 33f76148ced0e0618062e302d2a9614efdbd4a06 (diff) |
rcu: Add #ifdef to suppress __rcu_offline_cpu() warning in !HOTPLUG_CPU builds
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
Cc: Paul Mundt <lethal@linux-sh.org>
LKML-Reference: <20090825154025.GD6616@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcutree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 000b07609876..fee6316a8673 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -84,7 +84,9 @@ extern long rcu_batches_completed_sched(void); | |||
84 | static void cpu_quiet_msk(unsigned long mask, struct rcu_state *rsp, | 84 | static void cpu_quiet_msk(unsigned long mask, struct rcu_state *rsp, |
85 | struct rcu_node *rnp, unsigned long flags); | 85 | struct rcu_node *rnp, unsigned long flags); |
86 | static void cpu_quiet_msk_finish(struct rcu_state *rsp, unsigned long flags); | 86 | static void cpu_quiet_msk_finish(struct rcu_state *rsp, unsigned long flags); |
87 | #ifdef CONFIG_HOTPLUG_CPU | ||
87 | static void __rcu_offline_cpu(int cpu, struct rcu_state *rsp); | 88 | static void __rcu_offline_cpu(int cpu, struct rcu_state *rsp); |
89 | #endif /* #ifdef CONFIG_HOTPLUG_CPU */ | ||
88 | static void __rcu_process_callbacks(struct rcu_state *rsp, | 90 | static void __rcu_process_callbacks(struct rcu_state *rsp, |
89 | struct rcu_data *rdp); | 91 | struct rcu_data *rdp); |
90 | static void __call_rcu(struct rcu_head *head, | 92 | static void __call_rcu(struct rcu_head *head, |