mirror of https://gitee.com/openkylin/linux.git
crypto: xor - Fix typo of optimization
s/optimzation/optimization/ Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
14ab6de485
commit
cfb28fde08
|
@ -95,7 +95,7 @@ do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2)
|
||||||
for (i = 0; i < 3; i++) {
|
for (i = 0; i < 3; i++) {
|
||||||
start = ktime_get();
|
start = ktime_get();
|
||||||
for (j = 0; j < REPS; j++) {
|
for (j = 0; j < REPS; j++) {
|
||||||
mb(); /* prevent loop optimzation */
|
mb(); /* prevent loop optimization */
|
||||||
tmpl->do_2(BENCH_SIZE, b1, b2);
|
tmpl->do_2(BENCH_SIZE, b1, b2);
|
||||||
mb();
|
mb();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue