diff options
Diffstat (limited to 'crypto/algapi.c')
-rw-r--r-- | crypto/algapi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c index f5396c88e8cd..42fe316f80ee 100644 --- a/crypto/algapi.c +++ b/crypto/algapi.c | |||
@@ -259,13 +259,13 @@ static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) | |||
259 | list_add(&larval->alg.cra_list, &crypto_alg_list); | 259 | list_add(&larval->alg.cra_list, &crypto_alg_list); |
260 | 260 | ||
261 | #ifdef CONFIG_CRYPTO_STATS | 261 | #ifdef CONFIG_CRYPTO_STATS |
262 | atomic_set(&alg->encrypt_cnt, 0); | 262 | atomic64_set(&alg->encrypt_cnt, 0); |
263 | atomic_set(&alg->decrypt_cnt, 0); | 263 | atomic64_set(&alg->decrypt_cnt, 0); |
264 | atomic64_set(&alg->encrypt_tlen, 0); | 264 | atomic64_set(&alg->encrypt_tlen, 0); |
265 | atomic64_set(&alg->decrypt_tlen, 0); | 265 | atomic64_set(&alg->decrypt_tlen, 0); |
266 | atomic_set(&alg->verify_cnt, 0); | 266 | atomic64_set(&alg->verify_cnt, 0); |
267 | atomic_set(&alg->cipher_err_cnt, 0); | 267 | atomic64_set(&alg->cipher_err_cnt, 0); |
268 | atomic_set(&alg->sign_cnt, 0); | 268 | atomic64_set(&alg->sign_cnt, 0); |
269 | #endif | 269 | #endif |
270 | 270 | ||
271 | out: | 271 | out: |