]> 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)
commit21e95836f7c6887d2f1398bc9f737486195d723b
tree75bdcba515026deb596bbcae1c35357f3c07adba
parentfe23be365fc1a7fbedb3659fc5a2e9c00ce51db3
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