diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-02-01 11:22:00 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-02-08 12:38:12 +0100 |
commit | ba916b6a0339ed6cc6441ad83c097ab795dbdbc5 (patch) | |
tree | 46f1cd6f09288766fa60487a09069224b98e7ce4 /drivers/rtc/rtc-lib.c | |
parent | compiler-gcc.h: __nostackprotector needs gcc-4.4 and up (diff) | |
download | linux-ba916b6a0339ed6cc6441ad83c097ab795dbdbc5.tar.xz linux-ba916b6a0339ed6cc6441ad83c097ab795dbdbc5.zip |
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>
Diffstat (limited to 'drivers/rtc/rtc-lib.c')
0 files changed, 0 insertions, 0 deletions