]> 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)
commit214c553d6d083233c63e62413ac85d0ff73fdd2b
tree4a8869a07712281563683312eb0b3346b43e90c8
parent50cd008beca01ad762c9d75e7fdf539e9b634b8d
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