Skip to content

Commit

Permalink
x86/lib: Fix spelling, put space between a numeral and its units
Browse files Browse the repository at this point in the history
As suggested by Peter Anvin.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: H . Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
  • Loading branch information
Andy Shevchenko authored and Ingo Molnar committed Apr 15, 2013
1 parent bb916ff commit d50ba36
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/x86/lib/checksum_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ENTRY(csum_partial)
testl $3, %esi # Check alignment.
jz 2f # Jump if alignment is ok.
testl $1, %esi # Check alignment.
jz 10f # Jump if alignment is boundary of 2bytes.
jz 10f # Jump if alignment is boundary of 2 bytes.

# buf is odd
dec %ecx
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/lib/memcpy_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void *memmove(void *dest, const void *src, size_t n)
char *ret = dest;

__asm__ __volatile__(
/* Handle more 16bytes in loop */
/* Handle more 16 bytes in loop */
"cmp $0x10, %0\n\t"
"jb 1f\n\t"

Expand Down
2 changes: 1 addition & 1 deletion arch/x86/lib/memcpy_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ENTRY(memcpy)
subq $0x20, %rdx
/*
* At most 3 ALU operations in one cycle,
* so append NOPS in the same 16bytes trunk.
* so append NOPS in the same 16 bytes trunk.
*/
.p2align 4
.Lcopy_backward_loop:
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/lib/memmove_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
ENTRY(memmove)
CFI_STARTPROC

/* Handle more 32bytes in loop */
/* Handle more 32 bytes in loop */
mov %rdi, %rax
cmp $0x20, %rdx
jb 1f
Expand Down

0 comments on commit d50ba36

Please sign in to comment.