summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/string.h
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2011-11-14 14:47:18 +0000
committerGraeme Russ <graeme.russ@gmail.com>2011-11-29 21:31:17 +1100
commitdbaef6ef33912a863f9fb550857028fb96e42c59 (patch)
tree255343e0720426f7e7cbbb678bc93af506aff74c /arch/x86/include/asm/string.h
parent60a9b6bfddbe1e3ae280fe5422ccd283bc31a591 (diff)
downloadu-boot-imx-dbaef6ef33912a863f9fb550857028fb96e42c59.zip
u-boot-imx-dbaef6ef33912a863f9fb550857028fb96e42c59.tar.gz
u-boot-imx-dbaef6ef33912a863f9fb550857028fb96e42c59.tar.bz2
x86: Import the glibc memset implementation
The new implementation is about twice as fast as the old. This is from glibc-2.14, sysdeps/i386/memset.c. Signed-off-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/string.h')
-rw-r--r--arch/x86/include/asm/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/string.h b/arch/x86/include/asm/string.h
index 3643a79..3aa6c11 100644
--- a/arch/x86/include/asm/string.h
+++ b/arch/x86/include/asm/string.h
@@ -23,7 +23,7 @@ extern void * memmove(void *, const void *, __kernel_size_t);
#undef __HAVE_ARCH_MEMCHR
extern void * memchr(const void *, int, __kernel_size_t);
-#undef __HAVE_ARCH_MEMSET
+#define __HAVE_ARCH_MEMSET
extern void * memset(void *, int, __kernel_size_t);
#undef __HAVE_ARCH_MEMZERO