arm64: lib: Implement optimized string length routines
authorzhichang.yuan <zhichang.yuan@linaro.org>
Mon, 28 Apr 2014 05:11:34 +0000 (13:11 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 23 May 2014 14:17:12 +0000 (15:17 +0100)
commit0a42cb0a6fa64cb17db11164a1ad3511b43acefe
treefc91d4d7a77ff9de03d0ae004b954c99ec98280f
parent192c4d902f19b66902d7aacc19e9b169bebfb2e5
arm64: lib: Implement optimized string length routines

This patch, based on Linaro's Cortex Strings library, adds
an assembly optimized strlen() and strnlen() functions.

Signed-off-by: Zhichang Yuan <zhichang.yuan@linaro.org>
Signed-off-by: Deepak Saxena <dsaxena@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/string.h
arch/arm64/kernel/arm64ksyms.c
arch/arm64/lib/Makefile
arch/arm64/lib/strlen.S [new file with mode: 0644]
arch/arm64/lib/strnlen.S [new file with mode: 0644]