diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-01-13 23:34:56 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-01-13 23:34:56 +0000 |
commit | 23f6620a360dfd17ac9abbf28e944a9677504819 (patch) | |
tree | 889f1d68d9a9a7e3e2f6de007d410fdecca93a54 /arch/arm/mm | |
parent | d6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc (diff) | |
download | talos-obmc-linux-23f6620a360dfd17ac9abbf28e944a9677504819.tar.gz talos-obmc-linux-23f6620a360dfd17ac9abbf28e944a9677504819.zip |
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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm')
0 files changed, 0 insertions, 0 deletions