diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2021-08-03 14:16:01 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-08-04 18:13:46 +0000 |
| commit | 5d4c779cb62e676aedc278de910b4bb8ef65a5cc (patch) | |
| tree | 0073e2c766d7d527d5dff727a728034813aacdd0 /scripts/clang-tools/gen_compile_commands.py | |
| parent | Linux 5.14-rc4 (diff) | |
| download | kernel-5d4c779cb62e676aedc278de910b4bb8ef65a5cc.tar.gz kernel-5d4c779cb62e676aedc278de910b4bb8ef65a5cc.zip | |
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 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
