diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2021-12-16 19:28:20 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-12-20 10:21:55 +0100 |
commit | 39d02827ed40fd421a758a36264c255d69f5d035 (patch) | |
tree | 69f8ab0c88b73bf6ff5364ea1d37a8104e725430 /arch/s390/kernel/smp.c | |
parent | s390/mm: check 2KB-fragment page on release (diff) | |
download | linux-39d02827ed40fd421a758a36264c255d69f5d035.tar.xz linux-39d02827ed40fd421a758a36264c255d69f5d035.zip |
s390/crypto: fix compile error for ChaCha20 module
The clgfi instruction used within the ChaCha20 assembly is only
available for z9-109 and newer machines, and therefore this will
generate a compile error if compiled e.g. with MARCH_Z900.
Given that the assembler code will only be executed on machines with
vector instructions, which became much later available than z9-109,
use insn notation to generate the clgfi instruction, and avoid compile
errors due to unknown instructions.
Fixes: b087dfab4d39 ("s390/crypto: add SIMD implementation for ChaCha20")
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions