diff options
Diffstat (limited to 'crypto/testmgr.c')
| -rw-r--r-- | crypto/testmgr.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 70f69f0910c9..58eee8eab4bf 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -1061,14 +1061,14 @@ static void generate_random_testvec_config(struct testvec_config *cfg,  static void crypto_disable_simd_for_test(void)  { -	preempt_disable(); +	migrate_disable();  	__this_cpu_write(crypto_simd_disabled_for_test, true);  }  static void crypto_reenable_simd_for_test(void)  {  	__this_cpu_write(crypto_simd_disabled_for_test, false); -	preempt_enable(); +	migrate_enable();  }  /* |