From eba6c8067147b4107b8f8e93573fb5b2cccfff17 Mon Sep 17 00:00:00 2001 From: Sami Tolvanen Date: Tue, 5 Dec 2017 12:53:34 -0800 Subject: [PATCH] FROMLIST: arch/arm64/crypto: disable LTO for aes-ce-cipher.c LTO requires the use of LLVM's integrated assembler, which doesn't understand the inline assembly in aes-ce-cipher.c. Disable LTO for the file. Bug: 62093296 Bug: 67506682 Change-Id: I7fe82644be0d86420edb4db7923b03dfee87215f (am from https://patchwork.kernel.org/patch/10060315/) Signed-off-by: Sami Tolvanen --- arch/arm64/crypto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/crypto/Makefile b/arch/arm64/crypto/Makefile index abb79b3cfcfe..965a2df4f65c 100644 --- a/arch/arm64/crypto/Makefile +++ b/arch/arm64/crypto/Makefile @@ -18,7 +18,7 @@ obj-$(CONFIG_CRYPTO_GHASH_ARM64_CE) += ghash-ce.o ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o -CFLAGS_aes-ce-cipher.o += -march=armv8-a+crypto +CFLAGS_aes-ce-cipher.o += -march=armv8-a+crypto $(DISABLE_LTO) obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o