fs/mbcache: replace __builtin_log2() with ilog2()
authorT Makphaibulchoke <[email protected]>
Thu, 26 Jun 2014 02:08:29 +0000 (22:08 -0400)
committerTheodore Ts'o <[email protected]>
Thu, 26 Jun 2014 02:08:29 +0000 (22:08 -0400)
commitec7756ae1517af483d995f386936d00a4cb1ab7d
tree4a8869a07712281563683312eb0b3346b43e90c8
parentc5c7b8ddfbf8cb3b2291e515a34ab1b8982f5a2d
fs/mbcache: replace __builtin_log2() with ilog2()

Fix compiler error with some gcc version(s) that do not
support __builtin_log2() by replacing __builtin_log2() with
ilog2().

Signed-off-by: T. Makphaibulchoke <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Reviewed-by: Maciej W. Rozycki <[email protected]>
fs/mbcache.c