summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/strncmp_32.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-11 19:53:29 -0700
committerDavid S. Miller <davem@davemloft.net>2012-05-11 19:53:29 -0700
commitb55e81b9f8cf0256bcfc548360aef642630c2919 (patch)
tree6a4374703f104ddc4cbc3b5f599fd52937000bc5 /arch/sparc/lib/strncmp_32.S
parentafaedde7c9bcbae4ea9ece34990da72da9c360af (diff)
downloadlinux-stable-b55e81b9f8cf0256bcfc548360aef642630c2919.tar.gz
linux-stable-b55e81b9f8cf0256bcfc548360aef642630c2919.tar.bz2
linux-stable-b55e81b9f8cf0256bcfc548360aef642630c2919.zip
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/strncmp_32.S')
-rw-r--r--arch/sparc/lib/strncmp_32.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/lib/strncmp_32.S b/arch/sparc/lib/strncmp_32.S
index 494ec664537a..1476f574db22 100644
--- a/arch/sparc/lib/strncmp_32.S
+++ b/arch/sparc/lib/strncmp_32.S
@@ -5,8 +5,7 @@
.text
.align 4
- .global __strncmp, strncmp
-__strncmp:
+ .global strncmp
strncmp:
mov %o0, %g3
mov 0, %o3