staging/lustre/o2iblnd: Don't use cpus_weight
authorOleg Drokin <green@linuxhacker.ru>
Wed, 4 Mar 2015 06:07:53 +0000 (01:07 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Mar 2015 04:57:06 +0000 (15:27 +1030)
commite97636b487d0767500a1b898513577a5ce000ad9
treebe471eae55a4218038b2e01af7e8f855a59464ae
parentb25e74b56a34908c777c1e72ecd9c56c4c8e124d
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: Rusty Russell <rusty@rustcorp.com.au>
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c