diff options
| author | Paul E. McKenney <[email protected]> | 2021-07-30 03:30:32 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2021-09-13 23:32:46 +0000 |
| commit | 4aa846f97c0c0d9740d120f9ac3e2fba1522ac0c (patch) | |
| tree | d2c0507979760521fb9821d0def6aa58c17288ed /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | rcu: Simplify rcu_report_dead() call to rcu_report_exp_rdp() (diff) | |
| download | kernel-4aa846f97c0c0d9740d120f9ac3e2fba1522ac0c.tar.gz kernel-4aa846f97c0c0d9740d120f9ac3e2fba1522ac0c.zip | |
rcu: Make rcutree_dying_cpu() use its "cpu" parameter
The CPU-hotplug functions take a "cpu" parameter, but rcutree_dying_cpu()
ignores it in favor of this_cpu_ptr(). This works at the moment, but
it would be better to be consistent. This might also work better given
some possible future changes. This commit therefore uses per_cpu_ptr()
to avoid ignoring the rcutree_dying_cpu() function's argument.
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
