diff options
author | zhichang.yuan <zhichang.yuan@linaro.org> | 2014-04-28 13:11:33 +0800 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-05-23 15:16:59 +0100 |
commit | 192c4d902f19b66902d7aacc19e9b169bebfb2e5 (patch) | |
tree | 8ab658ea4456b0ccec55e95c2aee40aed028936f /arch/arm64/kernel/arm64ksyms.c | |
parent | d875c9b3724083cd2629cd8507e424cd3716cd28 (diff) |
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/arm64ksyms.c')
-rw-r--r-- | arch/arm64/kernel/arm64ksyms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/kernel/arm64ksyms.c b/arch/arm64/kernel/arm64ksyms.c index 909c18e155e..2784a79dbdd 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); |