Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62357
b: refs/heads/master
c: aac57f8
h: refs/heads/master
i:
  62355: c78372f
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jul 22, 2007
1 parent 8d0c975 commit b1c2389
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 5b74e3abb3e9bd8a2f52a7b653941e3686c5df1a
refs/heads/master: aac57f81eb16d56afb5bd5a31ff325b5d1615580
5 changes: 4 additions & 1 deletion trunk/include/asm-x86_64/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ return (to);
function. */

#define __HAVE_ARCH_MEMCPY 1
#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) || __GNUC__ > 4
extern void *memcpy(void *to, const void *from, size_t len);
#else
extern void *__memcpy(void *to, const void *from, size_t len);
#define memcpy(dst,src,len) \
({ size_t __len = (len); \
Expand All @@ -38,7 +41,7 @@ extern void *__memcpy(void *to, const void *from, size_t len);
else \
__ret = __builtin_memcpy((dst),(src),__len); \
__ret; })

#endif

#define __HAVE_ARCH_MEMSET
void *memset(void *s, int c, size_t n);
Expand Down

0 comments on commit b1c2389

Please sign in to comment.