Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88614
b: refs/heads/master
c: e940659
h: refs/heads/master
v: v3
  • Loading branch information
Paolo Ciarrocchi authored and Ingo Molnar committed Apr 17, 2008
1 parent f01adfc commit e4f9695
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87253d1b4f2b5a29bdfc6275b9fb52a47d72df64
refs/heads/master: e9406597884b5c2f196b124bdd6af47351562a9d
8 changes: 4 additions & 4 deletions trunk/arch/x86/lib/memmove_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
#include <linux/module.h>

#undef memmove
void *memmove(void * dest,const void *src,size_t count)
void *memmove(void *dest, const void *src, size_t count)
{
if (dest < src) {
return memcpy(dest,src,count);
if (dest < src) {
return memcpy(dest, src, count);
} else {
char *p = dest + count;
const char *s = src + count;
while (count--)
*--p = *--s;
}
return dest;
}
}
EXPORT_SYMBOL(memmove);

0 comments on commit e4f9695

Please sign in to comment.