summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorzhichang.yuan <zhichang.yuan@linaro.org>2014-04-28 13:11:34 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2014-05-23 15:17:12 +0100
commit0a42cb0a6fa64cb17db11164a1ad3511b43acefe (patch)
treefc91d4d7a77ff9de03d0ae004b954c99ec98280f /arch/arm64/kernel
parent192c4d902f19b66902d7aacc19e9b169bebfb2e5 (diff)
downloadblackbird-op-linux-0a42cb0a6fa64cb17db11164a1ad3511b43acefe.tar.gz
blackbird-op-linux-0a42cb0a6fa64cb17db11164a1ad3511b43acefe.zip
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>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r--arch/arm64/kernel/arm64ksyms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/kernel/arm64ksyms.c b/arch/arm64/kernel/arm64ksyms.c
index 2784a79dbdd9..1edc792b4a1f 100644
--- a/arch/arm64/kernel/arm64ksyms.c
+++ b/arch/arm64/kernel/arm64ksyms.c
@@ -46,6 +46,8 @@ EXPORT_SYMBOL(strchr);
EXPORT_SYMBOL(strrchr);
EXPORT_SYMBOL(strcmp);
EXPORT_SYMBOL(strncmp);
+EXPORT_SYMBOL(strlen);
+EXPORT_SYMBOL(strnlen);
EXPORT_SYMBOL(memset);
EXPORT_SYMBOL(memcpy);
EXPORT_SYMBOL(memmove);
OpenPOWER on IntegriCloud