Whamcloud - gitweb
LU-6285: o2iblnd: Do not use cpus_weight, it's deprecated 54/13954/2
authorOleg Drokin <oleg.drokin@intel.com>
Tue, 3 Mar 2015 19:44:10 +0000 (14:44 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 6 Apr 2015 01:18:11 +0000 (01:18 +0000)
commitb95db057d0501fb19f807cddf3a8ba3f7f47cb1a
tree24af42570122d3decf781e8547c07e499efc8ded
parent2ba660ee4e83860af1f1b72710b036dba9151948
LU-6285: o2iblnd: Do not use cpus_weight, it's deprecated

Replace cpus_weight and for_each_cpu mask with
cpumaskweight and for_each_cpu respectively as per latest kernel guidelines.

Change-Id: I038eb38234c0a209a68ca24c8a860d0e84522c27
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/13954
Tested-by: Jenkins
Reviewed-by: Liang Zhen <liang.zhen@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
lnet/klnds/o2iblnd/o2iblnd.c