staging/lustre/o2iblnd: Don't use cpus_weight
authorOleg Drokin <green@linuxhacker.ru>
Sun, 8 Mar 2015 00:24:27 +0000 (19:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 09:35:44 +0000 (10:35 +0100)
commit4a316f7916d53c9c6e482b37f556102b5cf80546
tree4031f701f7d7af680770fa315671c9263bf814aa
parent8417773bbbb4d782b1314f5d1126d1b43b26b7db
staging/lustre/o2iblnd: Don't use cpus_weight

cpus_weight and for_each_cpu_mask are deprecated, so replace them
with cpumask_weight and for_each_cpu respectively.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c