s390/tx: Convert MACHINE_HAS_TE to machine_has_tx()
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 7 Feb 2025 14:49:01 +0000 (15:49 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 4 Mar 2025 16:18:06 +0000 (17:18 +0100)
commite82462fbb2cffbae0bf1b8bb15924cb18dba06a7
treed22a6d55fce87c9da46f1689e540836eeef76172
parent17d3804808091e3942d2744dc8155a3a918d88c3
s390/tx: Convert MACHINE_HAS_TE to machine_has_tx()

Use static branch(es) to implement and use machine_has_tx() instead of
a runtime check with MACHINE_HAS_TE.

Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/boot/startup.c
arch/s390/include/asm/machine.h
arch/s390/include/asm/setup.h
arch/s390/kernel/early.c
arch/s390/kernel/processor.c
arch/s390/kernel/ptrace.c