Re: [PATCH] crypto: aes-generic - fix aes-generic regression on powerpc

From: Arnd Bergmann
Date: Mon Jan 15 2018 - 10:58:43 EST


On Mon, Jan 15, 2018 at 4:55 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> --- a/crypto/Makefile
> +++ b/crypto/Makefile
> @@ -99,7 +99,7 @@ obj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o
> obj-$(CONFIG_CRYPTO_SERPENT) += serpent_generic.o
> CFLAGS_serpent_generic.o := $(call cc-option,-fsched-pressure) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79149
> obj-$(CONFIG_CRYPTO_AES) += aes_generic.o
> -CFLAGS_aes_generic.o := $(call cc-ifversion, -ge, 0701, -Os) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83356
> +CFLAGS_aes_generic.o := $(call cc-option,fno-code-hosting) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83356

Please disregard this version, it adds a typo that I noticed the second after I
had sent the patch.

Arnd