diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-10-21 10:53:02 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-11-03 22:20:11 -0500 |
commit | c3377c2da6e594504c900d5ef72374c109e4ca99 (patch) | |
tree | a22b9894500e373290eee77862b0f29a21879b29 /kernel/rcu/tiny.c | |
parent | 11bbb235c26f93b7c69e441452e44adbf6ed6996 (diff) |
rcu: Remove "cpu" argument to rcu_check_callbacks()
The "cpu" argument was kept around on the off-chance that RCU might
offload scheduler-clock interrupts. However, this offload approach
has been replaced by NO_HZ_FULL, which offloads -all- RCU processing
from qualifying CPUs. It is therefore time to remove the "cpu" argument
to rcu_check_callbacks(), which this commit does.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Diffstat (limited to 'kernel/rcu/tiny.c')
-rw-r--r-- | kernel/rcu/tiny.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tiny.c b/kernel/rcu/tiny.c index c0623fc47125..01570c68d237 100644 --- a/kernel/rcu/tiny.c +++ b/kernel/rcu/tiny.c | |||
@@ -247,7 +247,7 @@ void rcu_bh_qs(void) | |||
247 | * be called from hardirq context. It is normally called from the | 247 | * be called from hardirq context. It is normally called from the |
248 | * scheduling-clock interrupt. | 248 | * scheduling-clock interrupt. |
249 | */ | 249 | */ |
250 | void rcu_check_callbacks(int cpu, int user) | 250 | void rcu_check_callbacks(int user) |
251 | { | 251 | { |
252 | RCU_TRACE(check_cpu_stalls()); | 252 | RCU_TRACE(check_cpu_stalls()); |
253 | if (user || rcu_is_cpu_rrupt_from_idle()) | 253 | if (user || rcu_is_cpu_rrupt_from_idle()) |