diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2021-08-03 16:16:01 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2021-08-04 20:13:46 +0200 |
commit | 5d4c779cb62e676aedc278de910b4bb8ef65a5cc (patch) | |
tree | 0073e2c766d7d527d5dff727a728034813aacdd0 /lib/test_overflow.c | |
parent | c500bee1c5b2f1d59b1081ac879d73268ab0ff17 (diff) |
powercap: intel_rapl: Replace deprecated CPU-hotplug functions
The functions get_online_cpus() and put_online_cpus() have been
deprecated during the CPU hotplug rework. They map directly to
cpus_read_lock() and cpus_read_unlock().
Replace deprecated CPU-hotplug functions with the official version.
The behavior remains unchanged.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions