Skip to contentSkip to conversation

: sparc: Unify strlen assembler.

PATCH In review David Miller 1 participant 1 message Dec 9, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 3/4 : sparc: Unify strlen assembler.

sparc: Unify strlen assembler.

Use the new asm/asm.h header to help commonize the strlen assembler between 32-bit and 64-bit

While we're here, use proper linux/linkage.h macros instead of by-hand stuff.

---
 arch/sparc/lib/Makefile    |    2 +-
 arch/sparc/lib/strlen.S    |   80 +++++++++++++++++++++++++++++++++++++++++++
 arch/sparc/lib/strlen_32.S |   81 --------------------------------------------
 arch/sparc/lib/strlen_64.S |   80 -------------------------------------------
 4 files changed, 81 insertions(+), 162 deletions(-)
 create mode 100644 arch/sparc/lib/strlen.S
 delete mode 100644 arch/sparc/lib/strlen_32.S
 delete mode 100644 arch/sparc/lib/strlen_64.S
arch/sparc/lib/Makefile +1 -1
index 05ae5c9..0db2c61 100644
@@ -6,7 +6,7 @@ ccflags-y := -Werror
 
 lib-$(CONFIG_SPARC32) += mul.o rem.o sdiv.o udiv.o umul.o urem.o ashrdi3.o
 lib-$(CONFIG_SPARC32) += memcpy.o memset.o
-lib-y                 += strlen_$(BITS).o
+lib-y                 += strlen.o
 lib-y                 += checksum_$(BITS).o
 lib-$(CONFIG_SPARC32) += blockops.o
 lib-y                 += memscan_$(BITS).o memcmp_$(BITS).o strncmp_$(BITS).o
arch/sparc/lib/strlen.S new file +80 -0

80 lines not on this page · raw message

arch/sparc/lib/strlen_32.S deleted +0 -81

81 lines not on this page · raw message

arch/sparc/lib/strlen_64.S deleted +0 -80

80 lines not on this page · raw message

Signature · 1 line
1.5.6.5