diff options
Diffstat (limited to 'arch/x86_64/lib/memmove.c')
-rw-r--r-- | arch/x86_64/lib/memmove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/lib/memmove.c b/arch/x86_64/lib/memmove.c index 517eb1bd9de5..751ebae8ec42 100644 --- a/arch/x86_64/lib/memmove.c +++ b/arch/x86_64/lib/memmove.c | |||
@@ -9,7 +9,7 @@ | |||
9 | void *memmove(void * dest,const void *src,size_t count) | 9 | void *memmove(void * dest,const void *src,size_t count) |
10 | { | 10 | { |
11 | if (dest < src) { | 11 | if (dest < src) { |
12 | __inline_memcpy(dest,src,count); | 12 | return memcpy(dest,src,count); |
13 | } else { | 13 | } else { |
14 | char *p = (char *) dest + count; | 14 | char *p = (char *) dest + count; |
15 | char *s = (char *) src + count; | 15 | char *s = (char *) src + count; |