summaryrefslogtreecommitdiff
path: root/arch/arm64/crypto/sha512-ce-core.S
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-02-03 12:36:21 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-02-10 17:55:58 +1100
commit9ecc9f31d0a43d538d80f51debfb25d75da44892 (patch)
tree6b4d1a8b7cc16c6b77a9358731b3e854fc611256 /arch/arm64/crypto/sha512-ce-core.S
parentb2eadbf40e8f82279f145aa841727b2e01f7dc1d (diff)
crypto: arm64/sha3-ce - simplify NEON yield
Instead of calling into kernel_neon_end() and kernel_neon_begin() (and potentially into schedule()) from the assembler code when running in task mode and a reschedule is pending, perform only the preempt count check in assembler, but simply return early in this case, and let the C code deal with the consequences. This reverts commit 7edc86cb1c18b4c274672232117586ea2bef1d9a. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/sha512-ce-core.S')
0 files changed, 0 insertions, 0 deletions