Skip to content

Commit

Permalink
crypto: xor - Fix typo of optimization
Browse files Browse the repository at this point in the history
s/optimzation/optimization/

Signed-off-by: Bhaskar Chowdhury <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
unixbhaskar authored and herbertx committed Feb 10, 2021
1 parent 14ab6de commit cfb28fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/xor.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2)
for (i = 0; i < 3; i++) {
start = ktime_get();
for (j = 0; j < REPS; j++) {
mb(); /* prevent loop optimzation */
mb(); /* prevent loop optimization */
tmpl->do_2(BENCH_SIZE, b1, b2);
mb();
}
Expand Down

0 comments on commit cfb28fd

Please sign in to comment.