]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1257c83030aa62dcfc737341a9133e60da4adb22
tree4a8869a07712281563683312eb0b3346b43e90c8
parent33398a9bbacff61e7216608042d98bf94b8e894b
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