Skip to content
Commit 23f6620a authored by Russell King's avatar Russell King
Browse files

ARM: fix ffs/fls implementations to match x86



ARMs ffs/fls implementations are not type compatible with x86, so when
they're used in combination with min()/max(), they provoke warnings.
Change these to be inline functions with the correct types, providing
the clz as a separate documentation, and document their individual
behaviours.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent d6e0a2dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment