Whamcloud - gitweb
LU-15420 libcfs: replace deprecated CPU-hotplug functions
authorJian Yu <yujian@whamcloud.com>
Mon, 24 Jan 2022 20:59:19 +0000 (12:59 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 25 Jan 2022 15:43:28 +0000 (15:43 +0000)
commit9c8cbe47173cb5d3b6a19ebdc666bc1a80d6e76b
treee63472a55e5c4582c62d80374faea85149b41c90
parent466bc8db21ef1291f1c4b1943c2c681696400456
LU-15420 libcfs: replace deprecated CPU-hotplug functions

Kernel 5.15 commit 8c854303ce0e38e5bbedd725ff39da7e235865d8
removed deprecated CPU-hotplug functions get_online_cpus()
and put_online_cpus(). They map directly to cpus_read_lock()
and cpus_read_unlock().

Lustre-change: https://review.whamcloud.com/46085
Lustre-commit: TBD (from c531bac68680b899ba34a4e16bd8528937b4f06b)

Change-Id: I09d489cd3ca9a575b20ea25f24210702fbfdd725
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46288
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/libcfs/libcfs_cpu.c