Skip to content

Commit

Permalink
x86/lib: Fix spelling in the comments
Browse files Browse the repository at this point in the history
Apparently 'byts' should be 'bytes'.

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 73f4604 commit bb916ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/x86/lib/memcpy_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void *memmove(void *dest, const void *src, size_t n)
"sub $0x10, %0\n\t"

/*
* We gobble 16byts forward in each loop.
* We gobble 16 bytes forward in each loop.
*/
"3:\n\t"
"sub $0x10, %0\n\t"
Expand Down Expand Up @@ -117,7 +117,7 @@ void *memmove(void *dest, const void *src, size_t n)
"sub $0x10, %0\n\t"

/*
* We gobble 16byts backward in each loop.
* We gobble 16 bytes backward in each loop.
*/
"7:\n\t"
"sub $0x10, %0\n\t"
Expand Down
4 changes: 2 additions & 2 deletions arch/x86/lib/memmove_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ENTRY(memmove)
3:
sub $0x20, %rdx
/*
* We gobble 32byts forward in each loop.
* We gobble 32 bytes forward in each loop.
*/
5:
sub $0x20, %rdx
Expand Down Expand Up @@ -122,7 +122,7 @@ ENTRY(memmove)
addq %rdx, %rdi
subq $0x20, %rdx
/*
* We gobble 32byts backward in each loop.
* We gobble 32 bytes backward in each loop.
*/
8:
subq $0x20, %rdx
Expand Down

0 comments on commit bb916ff

Please sign in to comment.