fs/mbcache: replace __builtin_log2() with ilog2()
authorT Makphaibulchoke <tmac@hp.com>
Thu, 26 Jun 2014 02:08:29 +0000 (22:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
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 <tmac@hp.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Maciej W. Rozycki <macro@linux-mips.org>
fs/mbcache.c