]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: sha3-generic - Use __optimize to support old compilers
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 1 Feb 2018 10:22:00 +0000 (11:22 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 Feb 2018 11:38:12 +0000 (22:38 +1100)
commitba916b6a0339ed6cc6441ad83c097ab795dbdbc5
tree46f1cd6f09288766fa60487a09069224b98e7ce4
parentd9afaaa4ff7af8b87d4a205e48cb8a6f666d7f01
crypto: sha3-generic - Use __optimize to support old compilers

With gcc-4.1.2:

    crypto/sha3_generic.c:39: warning: ‘__optimize__’ attribute directive ignored

Use the newly introduced __optimize macro to fix this.

Fixes: 83dee2ce1ae791c3 ("crypto: sha3-generic - rewrite KECCAK transform to help the compiler optimize")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/sha3_generic.c