s390: simplify transactional execution elf hwcap handling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 9 Nov 2017 12:20:12 +0000 (13:20 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 9 Nov 2017 15:54:30 +0000 (16:54 +0100)
commitbaaf9be8d05c63c5cca9729ff05e69c6afed4fc5
tree7faf9e218d7b864a97cfc567ff2973b25e42eaf2
parent56c5c6834e330caca7584445f4dc103515eb7175
s390: simplify transactional execution elf hwcap handling

Just use MACHINE_HAS_TE to decide if HWCAP_S390_TE needs
to be added to elf_hwcap.

Suggested-by: Dan HorĂ¡k <dan@danny.cz>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/kernel/setup.c