diff options
author | Christoph Lameter <cl@linux.com> | 2014-09-02 14:13:44 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-11-03 19:19:26 -0800 |
commit | 28ced795cbb43f01146feb96d03a72facdee9911 (patch) | |
tree | 19766802a6044c9310aa7d9b6a73ee93346a12bd /include/linux/drbd_genl.h | |
parent | d7e29933969e5ca7c112ce1368a07911f4485dc2 (diff) |
rcu: Remove rcu_dynticks * parameters when they are always this_cpu_ptr(&rcu_dynticks)
For some functions in kernel/rcu/tree* the rdtp parameter is always
this_cpu_ptr(rdtp). Remove the parameter if constant and calculate the
pointer in function.
This will have the advantage that it is obvious that the address are
all per cpu offsets and thus it will enable the use of this_cpu_ops in
the future.
Signed-off-by: Christoph Lameter <cl@linux.com>
[ paulmck: Forward-ported to rcu/dev, whitespace adjustment. ]
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Diffstat (limited to 'include/linux/drbd_genl.h')
0 files changed, 0 insertions, 0 deletions