Whamcloud - gitweb
LU-15420 libcfs: replace deprecated CPU-hotplug functions 85/46085/1
authorJian Yu <yujian@whamcloud.com>
Thu, 13 Jan 2022 01:04:12 +0000 (17:04 -0800)
committerJian Yu <yujian@whamcloud.com>
Thu, 13 Jan 2022 01:04:12 +0000 (17:04 -0800)
commitc531bac68680b899ba34a4e16bd8528937b4f06b
tree322d98021c144adb9e6fb007972e49863e85d9d6
parent46ff76137160b66f1d4437b3443859027faae9c4
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().

Change-Id: I09d489cd3ca9a575b20ea25f24210702fbfdd725
Signed-off-by: Jian Yu <yujian@whamcloud.com>
libcfs/libcfs/libcfs_cpu.c