]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390/bitops: Switch to generic bitops
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 13 Dec 2024 12:27:33 +0000 (13:27 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 13 Jan 2025 08:50:18 +0000 (09:50 +0100)
commit8cae8e0afb2f1f6879efa6899b6323171c3bd990
tree7afa16fe52af3a0413565c30cbac6cc65401ede9
parent061a5e4ac36dac35bb4dfd6a6054c5657b953881
s390/bitops: Switch to generic bitops

The generic bitops implementation is nearly identical to the s390
implementation therefore switch to the generic variant.

This results in a small kernel image size decrease. This is because for
the generic variant the nr parameter for most bitops functions is of
type unsigned int while the s390 variant uses unsigned long.

bloat-o-meter:
add/remove: 670/670 grow/shrink: 167/209 up/down: 21440/-21792 (-352)

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/bitops.h