diff options
author | Andi Kleen <ak@suse.de> | 2006-04-07 13:50:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-09 14:53:52 -0400 |
commit | ac04dcaf6f567307fbeef9c3c1fff35280e53f02 (patch) | |
tree | 0af1ec91c2cfda958e2320aa4030df5c312c91e4 /arch/x86_64 | |
parent | 7bf36bbc5e0c09271f9efe22162f8cc3f8ebd3d2 (diff) |
[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')
-rw-r--r-- | arch/x86_64/kernel/x8664_ksyms.c | 2 |
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 d78f46056bda..fec4e521c01c 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); | |||
112 | #undef memcpy | 112 | #undef memcpy |
113 | #undef memset | 113 | #undef memset |
114 | #undef memmove | 114 | #undef memmove |
115 | #undef strlen | ||
116 | 115 | ||
117 | extern void * memset(void *,int,__kernel_size_t); | 116 | extern void * memset(void *,int,__kernel_size_t); |
118 | extern size_t strlen(const char *); | 117 | extern size_t strlen(const char *); |
@@ -121,7 +120,6 @@ extern void * memcpy(void *,const void *,__kernel_size_t); | |||
121 | extern void * __memcpy(void *,const void *,__kernel_size_t); | 120 | extern void * __memcpy(void *,const void *,__kernel_size_t); |
122 | 121 | ||
123 | EXPORT_SYMBOL(memset); | 122 | EXPORT_SYMBOL(memset); |
124 | EXPORT_SYMBOL(strlen); | ||
125 | EXPORT_SYMBOL(strpbrk); | 123 | EXPORT_SYMBOL(strpbrk); |
126 | EXPORT_SYMBOL(memmove); | 124 | EXPORT_SYMBOL(memmove); |
127 | EXPORT_SYMBOL(memcpy); | 125 | EXPORT_SYMBOL(memcpy); |