[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Revert 16450:5e8e82e80. Instead remove all arch-specific handling of
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1195942743 0 # Node ID ad632e4f26d4dbb7bb3d461d0421145c62bb183b # Parent 51082cf273d426b6443e729e8141be24f0bdc850 Revert 16450:5e8e82e80. Instead remove all arch-specific handling of memcmp() and hence always use common/lib.c version. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/common/string.c | 1 - xen/include/asm-x86/string.h | 4 ---- 2 files changed, 5 deletions(-) diff -r 51082cf273d4 -r ad632e4f26d4 xen/common/string.c --- a/xen/common/string.c Sat Nov 24 21:46:14 2007 +0000 +++ b/xen/common/string.c Sat Nov 24 22:19:03 2007 +0000 @@ -370,7 +370,6 @@ void * memmove(void * dest,const void *s #endif #ifndef __HAVE_ARCH_MEMCMP -#undef memcmp /** * memcmp - Compare two areas of memory * @cs: One area of memory diff -r 51082cf273d4 -r ad632e4f26d4 xen/include/asm-x86/string.h --- a/xen/include/asm-x86/string.h Sat Nov 24 21:46:14 2007 +0000 +++ b/xen/include/asm-x86/string.h Sat Nov 24 22:19:03 2007 +0000 @@ -109,10 +109,6 @@ void *__memcpy(void *t, const void *f, s #define __HAVE_ARCH_MEMMOVE extern void *memmove(void *dest, const void *src, size_t n); -/* Some versions of gcc emit references to memcmp despite this macro defn. */ -/*#define __HAVE_ARCH_MEMCMP*/ -#define memcmp __builtin_memcmp - static inline void *__memset_generic(void *s, char c, size_t count) { long d0, d1; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |