public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* [PATCH 0/2] bitops: __fls adjustments
@ 2022-05-25 14:48 Amadeusz Sławiński
  2022-05-25 14:48 ` [PATCH 1/2] ARC: bitops: Change __fls to return unsigned long Amadeusz Sławiński
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Amadeusz Sławiński @ 2022-05-25 14:48 UTC (permalink / raw)
  To: Vineet Gupta, Geert Uytterhoeven
  Cc: linux-snps-arc, linux-m68k, linux-kernel,
	Amadeusz Sławiński

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.

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

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

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-27  8:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-25 14:48 [PATCH 0/2] bitops: __fls adjustments Amadeusz Sławiński
2022-05-25 14:48 ` [PATCH 1/2] ARC: bitops: Change __fls to return unsigned long Amadeusz Sławiński
2022-05-26  3:42   ` Vineet Gupta
2022-05-27  8:37     ` Amadeusz Sławiński
2022-05-25 14:48 ` [PATCH 2/2] m68k: bitops: Change __fls to return and accept " Amadeusz Sławiński
2022-05-26 10:08 ` [PATCH 0/2] bitops: __fls adjustments Cezary Rojewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox