summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/sthyi.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-11-07 16:11:32 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-11-13 14:31:31 +0100
commite7583c5f8d0e0aa34178b6f34a89f81090393c64 (patch)
tree4af412cccd0484a6ba0ed7ce4aa3a15a75c4281a /arch/s390/kernel/sthyi.c
parent2f4b3b83b8c6e798a2e581521f00933d0f9ec777 (diff)
downloadlinux-stable-e7583c5f8d0e0aa34178b6f34a89f81090393c64.tar.gz
linux-stable-e7583c5f8d0e0aa34178b6f34a89f81090393c64.tar.bz2
linux-stable-e7583c5f8d0e0aa34178b6f34a89f81090393c64.zip
s390/asm: Helper macros for flag output operand handling
Since gcc supports flag out operands for inline assemblies there is always the question when this feature should be used and if it is worth all the ifdefs that come with that. In order to avoid that provide similar macros like x86 which can be used for all inline assemblies which extract the condition code. Depending on compiler features the generated code will either always contain an ipm+srl instruction pair, which extracts the condition code, or alternatively let the compiler handle this completely. Suggested-by: Juergen Christ <jchrist@linux.ibm.com> Reviewed-by: Juergen Christ <jchrist@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/sthyi.c')
0 files changed, 0 insertions, 0 deletions