]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre: Use roundup_pow_of_two() in LNetEQAlloc()
authorPekka Enberg <penberg@kernel.org>
Fri, 15 May 2015 18:40:20 +0000 (21:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 00:19:37 +0000 (09:19 +0900)
commit4c6c203266ecd00d90380bd1b11da022e36da04b
treed4b46c962a0895fba6000bddfff739773211a575
parent66acadd1447cfee39efeb3da7694a09a66402fe9
staging/lustre: Use roundup_pow_of_two() in LNetEQAlloc()

Use roundup_pow_of_two() and drop the private cfs_power2_roundup()
implementation.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_private.h
drivers/staging/lustre/lnet/lnet/lib-eq.c