All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] bitops: __fls adjustments
@ 2022-05-27 11:53 ` Amadeusz Sławiński
  0 siblings, 0 replies; 12+ messages in thread
From: Amadeusz Sławiński @ 2022-05-27 11:53 UTC (permalink / raw)
  To: Vineet Gupta, Geert Uytterhoeven, David S . Miller
  Cc: Guenter Roeck, linux-snps-arc, linux-m68k, sparclinux,
	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.

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


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

end of thread, other threads:[~2022-08-03  8:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-27 11:53 [PATCH v2 0/3] bitops: __fls adjustments Amadeusz Sławiński
2022-05-27 11:53 ` Amadeusz Sławiński
2022-05-27 11:53 ` [PATCH v2 1/3] ARC: bitops: Change __fls to return unsigned long Amadeusz Sławiński
2022-05-27 11:53   ` Amadeusz Sławiński
2022-05-27 11:53 ` [PATCH v2 2/3] m68k: bitops: Change __fls to return and accept " Amadeusz Sławiński
2022-05-27 11:53   ` Amadeusz Sławiński
2022-07-06  9:30   ` Geert Uytterhoeven
2022-07-06  9:30     ` Geert Uytterhoeven
2022-05-27 11:53 ` [PATCH v2 3/3] sparc64: bitops: Change __fls to return " Amadeusz Sławiński
2022-05-27 11:53   ` Amadeusz Sławiński
2022-08-03  8:48   ` Amadeusz Sławiński
2022-08-03  8:48     ` Amadeusz Sławiński

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.