[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220527115345.2588775-1-amadeuszx.slawinski@linux.intel.com>
Date: Fri, 27 May 2022 13:53:42 +0200
From: Amadeusz Sławiński
<amadeuszx.slawinski@...ux.intel.com>
To: Vineet Gupta <vgupta@...nel.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
"David S . Miller" <davem@...emloft.net>
Cc: Guenter Roeck <linux@...ck-us.net>,
linux-snps-arc@...ts.infradead.org,
linux-m68k@...ts.linux-m68k.org, sparclinux@...r.kernel.org,
linux-kernel@...r.kernel.org,
Amadeusz Sławiński
<amadeuszx.slawinski@...ux.intel.com>
Subject: [PATCH v2 0/3] bitops: __fls adjustments
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
Powered by blists - more mailing lists