]> git.proxmox.com Git - mirror_spl.git/commit
Map highbit64() to fls64()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 30 Sep 2014 22:07:07 +0000 (18:07 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 17 Oct 2014 22:11:50 +0000 (15:11 -0700)
commit87f8055a91940e6408420091e1a1601113f7912e
treea86d510d856546a22fdb0c9aa22c6dacdf00ec35
parent9c91800d199c65c7d893445bae9b9a9a5590c335
Map highbit64() to fls64()

The fls64() function has been available since Linux 2.6.16 and
it should be used to implemented highbit64().  This allows us
to provide an optimized implementation and simplify the code.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
config/spl-build.m4
include/linux/bitops_compat.h
include/sys/sysmacros.h
module/spl/spl-generic.c
module/spl/spl-kmem.c