diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-03-02 16:15:15 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-05-06 02:16:59 -0400 |
commit | 6cc68793e380bb51f447d8d02af873b7bc01f222 (patch) | |
tree | f2b66ace23acc0a31a08f136ad25659d6b51c4b1 /kernel/rcutree.c | |
parent | 13491a0ee1ef862b6c842132b6eb9c5e721af5ad (diff) |
rcu: fix spelling
The "preemptible" spelling is preferable. May as well fix it.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 27304bc15ec..b579e4f9721 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -290,8 +290,8 @@ static int rcu_implicit_offline_qs(struct rcu_data *rdp) | |||
290 | return 1; | 290 | return 1; |
291 | } | 291 | } |
292 | 292 | ||
293 | /* If preemptable RCU, no point in sending reschedule IPI. */ | 293 | /* If preemptible RCU, no point in sending reschedule IPI. */ |
294 | if (rdp->preemptable) | 294 | if (rdp->preemptible) |
295 | return 0; | 295 | return 0; |
296 | 296 | ||
297 | /* The CPU is online, so send it a reschedule IPI. */ | 297 | /* The CPU is online, so send it a reschedule IPI. */ |
@@ -1982,7 +1982,7 @@ static int __rcu_pending(struct rcu_state *rsp, struct rcu_data *rdp) | |||
1982 | * or RCU-bh, force a local reschedule. | 1982 | * or RCU-bh, force a local reschedule. |
1983 | */ | 1983 | */ |
1984 | rdp->n_rp_qs_pending++; | 1984 | rdp->n_rp_qs_pending++; |
1985 | if (!rdp->preemptable && | 1985 | if (!rdp->preemptible && |
1986 | ULONG_CMP_LT(ACCESS_ONCE(rsp->jiffies_force_qs) - 1, | 1986 | ULONG_CMP_LT(ACCESS_ONCE(rsp->jiffies_force_qs) - 1, |
1987 | jiffies)) | 1987 | jiffies)) |
1988 | set_need_resched(); | 1988 | set_need_resched(); |
@@ -2159,7 +2159,7 @@ rcu_boot_init_percpu_data(int cpu, struct rcu_state *rsp) | |||
2159 | * that this CPU cannot possibly have any RCU callbacks in flight yet. | 2159 | * that this CPU cannot possibly have any RCU callbacks in flight yet. |
2160 | */ | 2160 | */ |
2161 | static void __cpuinit | 2161 | static void __cpuinit |
2162 | rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptable) | 2162 | rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptible) |
2163 | { | 2163 | { |
2164 | unsigned long flags; | 2164 | unsigned long flags; |
2165 | unsigned long mask; | 2165 | unsigned long mask; |
@@ -2171,7 +2171,7 @@ rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptable) | |||
2171 | rdp->passed_quiesc = 0; /* We could be racing with new GP, */ | 2171 | rdp->passed_quiesc = 0; /* We could be racing with new GP, */ |
2172 | rdp->qs_pending = 1; /* so set up to respond to current GP. */ | 2172 | rdp->qs_pending = 1; /* so set up to respond to current GP. */ |
2173 | rdp->beenonline = 1; /* We have now been online. */ | 2173 | rdp->beenonline = 1; /* We have now been online. */ |
2174 | rdp->preemptable = preemptable; | 2174 | rdp->preemptible = preemptible; |
2175 | rdp->qlen_last_fqs_check = 0; | 2175 | rdp->qlen_last_fqs_check = 0; |
2176 | rdp->n_force_qs_snap = rsp->n_force_qs; | 2176 | rdp->n_force_qs_snap = rsp->n_force_qs; |
2177 | rdp->blimit = blimit; | 2177 | rdp->blimit = blimit; |