log2: Use fls_long() in __roundup_pow_of_two()
Convert __roundup_pow_of_two() to use fls_long() instead of fls() so
the code would be identical to that found in Linux. This fix also
allowed next patch(taken from Linux kernel verbatim) to apply cleanly.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 62a53e0 commit d8dcbd294572c8a9d55e281ce62e3342c18022ea
@Andrey Smirnov Andrey Smirnov authored on 23 Aug 2018
Sascha Hauer committed on 24 Aug 2018
Showing 1 changed file
View
include/linux/log2.h