aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/string.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2007-11-24 22:19:03 +0000
committerKeir Fraser <keir.fraser@citrix.com>2007-11-24 22:19:03 +0000
commite88b181bba05f7d3db0face65127cba95310f156 (patch)
tree25284aa30623fe6e4af88aea308db5873c63e9e1 /xen/include/asm-x86/string.h
parentcbbb95478e369a579f27065e66886cc94b0e4e0a (diff)
downloadxen-e88b181bba05f7d3db0face65127cba95310f156.tar.gz
xen-e88b181bba05f7d3db0face65127cba95310f156.tar.bz2
xen-e88b181bba05f7d3db0face65127cba95310f156.zip
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@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/string.h')
-rw-r--r--xen/include/asm-x86/string.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/xen/include/asm-x86/string.h b/xen/include/asm-x86/string.h
index 5921d22c85..496b22754f 100644
--- a/xen/include/asm-x86/string.h
+++ b/xen/include/asm-x86/string.h
@@ -109,10 +109,6 @@ void *__memcpy(void *t, const void *f, size_t n)
#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;