Fix non-optimized compilation of Xen's memcmp
PATCH 1/1 Fix non-optimized compilation of Xen's memcmp
Even when using __builtin_memcmp, gcc may emit external references to memcmp (when not optimizing for instance), so this #define does not always provide a completely suitable memcmp().
Signed-off-by Samuel Thibault <[email protected]>
xen/include/asm-x86/string.h +0 -1
@@ -109,7 +109,6 @@ void *__memcpy(void *t, const void *f, s#define __HAVE_ARCH_MEMMOVEextern void *memmove (void *dest,const void *src,size_t n); -#define __HAVE_ARCH_MEMCMP#define memcmp __builtin_memcmpstatic inline void *__memset_generic (void *s,char c,size_t count)