diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-03-30 18:50:01 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-10 14:08:32 -0400 |
commit | 99652b54de1ee094236f7171485214071af4ef31 (patch) | |
tree | fd3691aacd46a6afd9ee6ae6f38ca5e9aafb5783 /kernel/rcutiny.c | |
parent | da848c47bc6e873a54a445ea1960423a495b6b32 (diff) |
rcu: rename rcutiny rcu_ctrlblk to rcu_sched_ctrlblk
Make naming line up in preparation for CONFIG_TINY_PREEMPT_RCU.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutiny.c')
-rw-r--r-- | kernel/rcutiny.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c index 272c6d21a75f..d9f8a623c9fa 100644 --- a/kernel/rcutiny.c +++ b/kernel/rcutiny.c | |||
@@ -44,9 +44,9 @@ struct rcu_ctrlblk { | |||
44 | }; | 44 | }; |
45 | 45 | ||
46 | /* Definition for rcupdate control block. */ | 46 | /* Definition for rcupdate control block. */ |
47 | static struct rcu_ctrlblk rcu_ctrlblk = { | 47 | static struct rcu_ctrlblk rcu_sched_ctrlblk = { |
48 | .donetail = &rcu_ctrlblk.rcucblist, | 48 | .donetail = &rcu_sched_ctrlblk.rcucblist, |
49 | .curtail = &rcu_ctrlblk.rcucblist, | 49 | .curtail = &rcu_sched_ctrlblk.rcucblist, |
50 | }; | 50 | }; |
51 | 51 | ||
52 | static struct rcu_ctrlblk rcu_bh_ctrlblk = { | 52 | static struct rcu_ctrlblk rcu_bh_ctrlblk = { |
@@ -108,7 +108,8 @@ static int rcu_qsctr_help(struct rcu_ctrlblk *rcp) | |||
108 | */ | 108 | */ |
109 | void rcu_sched_qs(int cpu) | 109 | void rcu_sched_qs(int cpu) |
110 | { | 110 | { |
111 | if (rcu_qsctr_help(&rcu_ctrlblk) + rcu_qsctr_help(&rcu_bh_ctrlblk)) | 111 | if (rcu_qsctr_help(&rcu_sched_ctrlblk) + |
112 | rcu_qsctr_help(&rcu_bh_ctrlblk)) | ||
112 | raise_softirq(RCU_SOFTIRQ); | 113 | raise_softirq(RCU_SOFTIRQ); |
113 | } | 114 | } |
114 | 115 | ||
@@ -173,7 +174,7 @@ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp) | |||
173 | */ | 174 | */ |
174 | static void rcu_process_callbacks(struct softirq_action *unused) | 175 | static void rcu_process_callbacks(struct softirq_action *unused) |
175 | { | 176 | { |
176 | __rcu_process_callbacks(&rcu_ctrlblk); | 177 | __rcu_process_callbacks(&rcu_sched_ctrlblk); |
177 | __rcu_process_callbacks(&rcu_bh_ctrlblk); | 178 | __rcu_process_callbacks(&rcu_bh_ctrlblk); |
178 | } | 179 | } |
179 | 180 | ||
@@ -221,7 +222,7 @@ static void __call_rcu(struct rcu_head *head, | |||
221 | */ | 222 | */ |
222 | void call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu)) | 223 | void call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu)) |
223 | { | 224 | { |
224 | __call_rcu(head, func, &rcu_ctrlblk); | 225 | __call_rcu(head, func, &rcu_sched_ctrlblk); |
225 | } | 226 | } |
226 | EXPORT_SYMBOL_GPL(call_rcu); | 227 | EXPORT_SYMBOL_GPL(call_rcu); |
227 | 228 | ||