summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorzhichang.yuan <zhichang.yuan@linaro.org>2014-04-28 13:11:33 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2014-05-23 15:16:59 +0100
commit192c4d902f19b66902d7aacc19e9b169bebfb2e5 (patch)
tree8ab658ea4456b0ccec55e95c2aee40aed028936f /arch/arm64/kernel
parentd875c9b3724083cd2629cd8507e424cd3716cd28 (diff)
downloadlinux-192c4d902f19b66902d7aacc19e9b169bebfb2e5.tar.gz
linux-192c4d902f19b66902d7aacc19e9b169bebfb2e5.tar.bz2
linux-192c4d902f19b66902d7aacc19e9b169bebfb2e5.zip
arm64: lib: Implement optimized string compare routines
This patch, based on Linaro's Cortex Strings library, adds an assembly optimized strcmp() and strncmp() 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 909c18e155ea..2784a79dbdd9 100644
--- a/arch/arm64/kernel/arm64ksyms.c
+++ b/arch/arm64/kernel/arm64ksyms.c
@@ -44,6 +44,8 @@ EXPORT_SYMBOL(memstart_addr);
/* string / mem functions */
EXPORT_SYMBOL(strchr);
EXPORT_SYMBOL(strrchr);
+EXPORT_SYMBOL(strcmp);
+EXPORT_SYMBOL(strncmp);
EXPORT_SYMBOL(memset);
EXPORT_SYMBOL(memcpy);
EXPORT_SYMBOL(memmove);