diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-12 02:53:29 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-12 02:53:29 (GMT) |
commit | b55e81b9f8cf0256bcfc548360aef642630c2919 (patch) | |
tree | 6a4374703f104ddc4cbc3b5f599fd52937000bc5 /arch/sparc/lib/ksyms.c | |
parent | afaedde7c9bcbae4ea9ece34990da72da9c360af (diff) | |
download | linux-b55e81b9f8cf0256bcfc548360aef642630c2919.tar.xz |
sparc32: Remove inline strncmp "optimization" for constant counts.
Let the compiler do stuff like this.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/ksyms.c')
-rw-r--r-- | arch/sparc/lib/ksyms.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/lib/ksyms.c b/arch/sparc/lib/ksyms.c index f73c224..1bc8972 100644 --- a/arch/sparc/lib/ksyms.c +++ b/arch/sparc/lib/ksyms.c @@ -56,8 +56,6 @@ extern int __divdi3(int, int); extern void (*__copy_1page)(void *, const void *); extern void (*bzero_1page)(void *); -extern int __strncmp(const char *, const char *, __kernel_size_t); - extern void ___rw_read_enter(void); extern void ___rw_read_try(void); extern void ___rw_read_exit(void); @@ -81,9 +79,6 @@ EXPORT_SYMBOL(__copy_1page); EXPORT_SYMBOL(__memmove); EXPORT_SYMBOL(bzero_1page); -/* string functions */ -EXPORT_SYMBOL(__strncmp); - /* Moving data to/from/in userspace. */ EXPORT_SYMBOL(__copy_user); |