[PATCH v2 0/3] bitops: __fls adjustments

Amadeusz Sławiński posted 3 patches 3 years, 11 months ago
arch/arc/include/asm/bitops.h      | 4 ++--
arch/m68k/include/asm/bitops.h     | 2 +-
arch/sparc/include/asm/bitops_64.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
[PATCH v2 0/3] bitops: __fls adjustments
Posted by Amadeusz Sławiński 3 years, 11 months ago
Apparently on few architectures __fls is defined incorrectly. Fix this
by adjusting declarations to asm-generic ones.

As far as I can tell there should be no functional changes, but I don't
have devices to test it, so it was only compile tested.

Changes in v2:
  - change both declarations in ARC header (pointed by Guenter Roeck)
  - also change sparc64 declaration (pointed by Guenter Roeck)

Amadeusz Sławiński (3):
  ARC: bitops: Change __fls to return unsigned long
  m68k: bitops: Change __fls to return and accept unsigned long
  sparc64: bitops: Change __fls to return unsigned long

 arch/arc/include/asm/bitops.h      | 4 ++--
 arch/m68k/include/asm/bitops.h     | 2 +-
 arch/sparc/include/asm/bitops_64.h | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.25.1