]> git.baikalelectronics.ru Git - kernel.git/commit
s390: disable asm code expolines if cc does not support it
authorVasily Gorbik <gor@linux.ibm.com>
Fri, 15 Jun 2018 08:22:18 +0000 (10:22 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 25 Jun 2018 08:14:37 +0000 (10:14 +0200)
commit7f398f87ece9f79a9885f5d3e29c51cf0ee62552
treef6c203fdc09fe7a4b1cd412c986eae66d3b71976
parent31e2e23b5021f8103d7237dc782c64e2c8935902
s390: disable asm code expolines if cc does not support it

To avoid a mixture of asm code with expolines and c code without them,
propagate CC_USING_EXPOLINE to KBUILD_AFLAGS and use it to detect
whether asm code should have expolines or not.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Makefile
arch/s390/include/asm/nospec-insn.h