|
@@ -1523,7 +1523,7 @@ int rcu_needs_cpu(unsigned long *delta_jiffies)
|
|
|
* Because we do not have RCU_FAST_NO_HZ, don't bother cleaning up
|
|
|
* after it.
|
|
|
*/
|
|
|
-static void rcu_cleanup_after_idle(int cpu)
|
|
|
+static void rcu_cleanup_after_idle(void)
|
|
|
{
|
|
|
}
|
|
|
|
|
@@ -1731,10 +1731,10 @@ static void rcu_prepare_for_idle(void)
|
|
|
* any grace periods that elapsed while the CPU was idle, and if any
|
|
|
* callbacks are now ready to invoke, initiate invocation.
|
|
|
*/
|
|
|
-static void rcu_cleanup_after_idle(int cpu)
|
|
|
+static void rcu_cleanup_after_idle(void)
|
|
|
{
|
|
|
#ifndef CONFIG_RCU_NOCB_CPU_ALL
|
|
|
- if (rcu_is_nocb_cpu(cpu))
|
|
|
+ if (rcu_is_nocb_cpu(smp_processor_id()))
|
|
|
return;
|
|
|
if (rcu_try_advance_all_cbs())
|
|
|
invoke_rcu_core();
|