diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-11 19:53:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-11 19:53:29 -0700 |
commit | b55e81b9f8cf0256bcfc548360aef642630c2919 (patch) | |
tree | 6a4374703f104ddc4cbc3b5f599fd52937000bc5 /arch/sparc/lib/strncmp_32.S | |
parent | afaedde7c9bcbae4ea9ece34990da72da9c360af (diff) | |
download | linux-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.S | 3 |
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 |