diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2021-02-03 12:36:20 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-02-10 07:55:57 +0100 |
commit | b2eadbf40e8f82279f145aa841727b2e01f7dc1d (patch) | |
tree | 89d40b469248d89df0b5884bdb664b818bef06f4 /arch/arm64/lib | |
parent | crypto: arm64/sha1-ce - simplify NEON yield (diff) | |
download | linux-b2eadbf40e8f82279f145aa841727b2e01f7dc1d.tar.xz linux-b2eadbf40e8f82279f145aa841727b2e01f7dc1d.zip |
crypto: arm64/sha2-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 d82f37ab5e2426287013eba38b1212e8b71e5be3.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/lib')
0 files changed, 0 insertions, 0 deletions