diff options
author | Christoph Lameter <[email protected]> | 2014-09-02 14:13:44 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2014-11-03 19:19:26 -0800 |
commit | 28ced795cbb43f01146feb96d03a72facdee9911 (patch) | |
tree | 19766802a6044c9310aa7d9b6a73ee93346a12bd /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <[email protected]>
[ paulmck: Forward-ported to rcu/dev, whitespace adjustment. ]
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Pranith Kumar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions