diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2021-08-03 14:16:16 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2021-08-10 12:57:42 +0000 |
| commit | 844d87871b6e0ac3ceb177535dcdf6e6a9f1fd4b (patch) | |
| tree | 2dfe682bb01bbe96f0bfab3114efb7a22727d470 /scripts/gcc-plugins/gcc-common.h | |
| parent | Linux 5.14-rc5 (diff) | |
| download | kernel-844d87871b6e0ac3ceb177535dcdf6e6a9f1fd4b.tar.gz kernel-844d87871b6e0ac3ceb177535dcdf6e6a9f1fd4b.zip | |
smpboot: 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: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
