]> git.baikalelectronics.ru Git - kernel.git/commit
s390: only build for new CPUs with clang
authorArnd Bergmann <arnd@arndb.de>
Mon, 15 Apr 2019 08:35:51 +0000 (10:35 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 3 May 2019 15:17:58 +0000 (17:17 +0200)
commit990f6fe69c2b1aba5704aa0add994c7e90da620c
tree75bdcba515026deb596bbcae1c35357f3c07adba
parent9dafce379ec9516fc3df59c1df9614576f2904a9
s390: only build for new CPUs with clang

llvm does does not understand -march=z9-109 and older target
specifiers, so disable the respective Kconfig settings and
the logic to make the boot code work on old systems when
building with clang.

Part of the early boot code is normally compiled with -march=z900
for maximum compatibility. This also has to get changed with
clang to the oldest supported ISA, which is -march=z10 here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Kconfig
arch/s390/boot/Makefile