summaryrefslogtreecommitdiff
path: root/src/arch/x86/memmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/memmove.c')
-rw-r--r--src/arch/x86/memmove.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/memmove.c b/src/arch/x86/memmove.c
index 7c554b8a24..2cd7e48ded 100644
--- a/src/arch/x86/memmove.c
+++ b/src/arch/x86/memmove.c
@@ -18,7 +18,7 @@
void *memmove(void *dest, const void *src, size_t n)
{
- int d0,d1,d2,d3,d4,d5;
+ int d0, d1, d2, d3, d4, d5;
char *ret = dest;
__asm__ __volatile__(
@@ -192,11 +192,11 @@ void *memmove(void *dest, const void *src, size_t n)
".p2align 4\n\t"
"11:"
: "=&c" (d0), "=&S" (d1), "=&D" (d2),
- "=r" (d3),"=r" (d4), "=r"(d5)
- :"0" (n),
+ "=r" (d3), "=r" (d4), "=r"(d5)
+ : "0" (n),
"1" (src),
"2" (dest)
- :"memory");
+ : "memory");
return ret;