| commit | 22b38d950e7091e12724f35676aad10b390293ae | [log] [tgz] |
|---|---|---|
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Oct 21 13:23:08 2014 -0700 |
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Oct 22 14:23:26 2014 -0700 |
| tree | 7bb80ea1a31e7dab8e25acfb5d3a2ff818f295c4 | |
| parent | 700530cddf1bf8b611ad08a822fa2385d007ee61 [diff] |
rcu: Remove "cpu" argument to rcu_needs_cpu() The "cpu" argument to rcu_needs_cpu() is always the current CPU, so drop it. This in turn allows the "cpu" argument to rcu_cpu_has_callbacks() to be removed, which allows the uses of "cpu" in both functions to be replaced with a this_cpu_ptr(). Again, the anticipated cross-CPU uses of these functions has been replaced by NO_HZ_FULL. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>