Whamcloud - gitweb
LU-15420 libcfs: replace deprecated CPU-hotplug functions 85/46085/2
authorJian Yu <yujian@whamcloud.com>
Thu, 13 Jan 2022 01:04:12 +0000 (17:04 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 26 Jan 2022 05:16:49 +0000 (05:16 +0000)
commite5c9e8af58928ba7c4f288d49dbab596deec243f
tree6d19b0dcf78ffa522b1d276c8b4d8f6cff3b2f67
parentbad5875f130be1ecdfbd1c3f24350ac5982faf74
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>
Reviewed-on: https://review.whamcloud.com/46085
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
libcfs/libcfs/libcfs_cpu.c