]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm/arm64: bitops: fix find_next_zero_bit to be compat with arm64
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 28 Jun 2018 19:25:52 +0000 (14:25 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 19 Jul 2018 20:31:36 +0000 (16:31 -0400)
commit960a63973b21d540e2d3d7be229429e06280bacd
treeb8c3a34a9e8ff25aa4a12bc63bfe049c5e412889
parentc95848cdec33f16545d12a025d28edc8edb114dd
arm/arm64: bitops: fix find_next_zero_bit to be compat with arm64

Current implementation of find_next_zero_bit() is incompatible with arm64.
Hence fix it by using BITS_PER_LONG define instead of constants and
use generic ffz() implementation.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
arch/arm/include/asm/bitops.h