summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/atomic_ops.h
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-04-06 20:12:16 +0200
committerHeiko Carstens <hca@linux.ibm.com>2021-04-12 12:46:42 +0200
commit6000b5f4032e9be5413dcfcdd9e39eb1c9cc2453 (patch)
treee16827e96125090997a8be11dbac757400b387e1 /arch/s390/include/asm/atomic_ops.h
parent17a363dcd2f7455d8661a7b2f9ba7cfb85bbc7e4 (diff)
s390/bitops: make bitops only work on longs
The bitops code was optimized to generate test under mask instructions with the __bitops_byte() helper. However that was many years ago and in the meantime a lot of new instructions were introduced. Changing the code so that it always operates on longs nowadays even generates shorter code (~ -20kb, defconfig, gcc 10, march=zE12). Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/atomic_ops.h')
0 files changed, 0 insertions, 0 deletions