summaryrefslogtreecommitdiff
path: root/arch/sparc/lib/memset.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-12-11 10:32:10 +0300
committerDavid S. Miller <davem@davemloft.net>2009-12-11 10:32:10 +0300
commit4d14a459857bd151ecbd14bcd37b4628da00792b (patch)
treef713e8292ef84bfcc5ba4f3c7cd19aa4ce908bd5 /arch/sparc/lib/memset.S
parentfb34035e7b4bb3edc7c2dc0683cfe21f57a9574d (diff)
downloadlinux-4d14a459857bd151ecbd14bcd37b4628da00792b.tar.xz
sparc: Stop trying to be so fancy and use __builtin_{memcpy,memset}()
This mirrors commit ff60fab71bb3b4fdbf8caf57ff3739ffd0887396 (x86: Use __builtin_memset and __builtin_memcpy for memset/memcpy) Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/memset.S')
-rw-r--r--arch/sparc/lib/memset.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/lib/memset.S b/arch/sparc/lib/memset.S
index 1c37ea892deb..99c017be8719 100644
--- a/arch/sparc/lib/memset.S
+++ b/arch/sparc/lib/memset.S
@@ -60,11 +60,10 @@
.globl __bzero_begin
__bzero_begin:
- .globl __bzero, __memset,
+ .globl __bzero
.globl memset
.globl __memset_start, __memset_end
__memset_start:
-__memset:
memset:
and %o1, 0xff, %g3
sll %g3, 8, %g2