summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/x8664_ksyms.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-04-07 19:50:03 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-09 11:53:52 -0700
commitac04dcaf6f567307fbeef9c3c1fff35280e53f02 (patch)
tree0af1ec91c2cfda958e2320aa4030df5c312c91e4 /arch/x86_64/kernel/x8664_ksyms.c
parent7bf36bbc5e0c09271f9efe22162f8cc3f8ebd3d2 (diff)
downloadop-kernel-dev-ac04dcaf6f567307fbeef9c3c1fff35280e53f02.zip
op-kernel-dev-ac04dcaf6f567307fbeef9c3c1fff35280e53f02.tar.gz
[PATCH] x86_64: Don't export strlen twice
Fix WARNING: vmlinux: 'strlen' exported twice. Previous export was in vmlinux Reported by Mats Johannesson Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/x8664_ksyms.c')
-rw-r--r--arch/x86_64/kernel/x8664_ksyms.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86_64/kernel/x8664_ksyms.c
index d78f460..fec4e52 100644
--- a/arch/x86_64/kernel/x8664_ksyms.c
+++ b/arch/x86_64/kernel/x8664_ksyms.c
@@ -112,7 +112,6 @@ EXPORT_SYMBOL_GPL(unset_nmi_callback);
#undef memcpy
#undef memset
#undef memmove
-#undef strlen
extern void * memset(void *,int,__kernel_size_t);
extern size_t strlen(const char *);
@@ -121,7 +120,6 @@ extern void * memcpy(void *,const void *,__kernel_size_t);
extern void * __memcpy(void *,const void *,__kernel_size_t);
EXPORT_SYMBOL(memset);
-EXPORT_SYMBOL(strlen);
EXPORT_SYMBOL(strpbrk);
EXPORT_SYMBOL(memmove);
EXPORT_SYMBOL(memcpy);
OpenPOWER on IntegriCloud