diff options
| author | Geert Uytterhoeven <[email protected]> | 2018-02-01 10:22:00 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-02-08 11:38:12 +0000 |
| commit | ba916b6a0339ed6cc6441ad83c097ab795dbdbc5 (patch) | |
| tree | 46f1cd6f09288766fa60487a09069224b98e7ce4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | compiler-gcc.h: __nostackprotector needs gcc-4.4 and up (diff) | |
| download | kernel-ba916b6a0339ed6cc6441ad83c097ab795dbdbc5.tar.gz kernel-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 <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
