WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Revert 16450:5e8e82e80. Instead remove al

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Revert 16450:5e8e82e80. Instead remove all arch-specific handling of
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Nov 2007 19:00:27 -0800
Delivery-date: Sat, 24 Nov 2007 19:01:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Revert 16450:5e8e82e80. Instead remove all arch-specific handling of, Xen patchbot-unstable <=