summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/kernel
diff options
context:
space:
mode:
authorOlof Kindgren <olof.kindgren@gmail.com>2015-02-06 13:41:51 +0100
committerStafford Horne <shorne@gmail.com>2017-02-25 04:14:35 +0900
commitd857a1e253498feb231173218df26f5562c70f09 (patch)
tree4d7c67c6d2c648d52a83f68e5ebaa3882c791073 /arch/openrisc/kernel
parente29d11c6991d078bf2011f25dc8c19a2f38c4c8e (diff)
downloadblackbird-op-linux-d857a1e253498feb231173218df26f5562c70f09.tar.gz
blackbird-op-linux-d857a1e253498feb231173218df26f5562c70f09.zip
openrisc: Add optimized memset
This adds a hand-optimized assembler version of memset and sets __HAVE_ARCH_MEMSET to use this version instead of the generic C routine Signed-off-by: Olof Kindgren <olof.kindgren@gmail.com> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/kernel')
-rw-r--r--arch/openrisc/kernel/or32_ksyms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/kernel/or32_ksyms.c b/arch/openrisc/kernel/or32_ksyms.c
index 86e31cf1de1d..5c4695d13542 100644
--- a/arch/openrisc/kernel/or32_ksyms.c
+++ b/arch/openrisc/kernel/or32_ksyms.c
@@ -44,3 +44,4 @@ DECLARE_EXPORT(__ashldi3);
DECLARE_EXPORT(__lshrdi3);
EXPORT_SYMBOL(__copy_tofrom_user);
+EXPORT_SYMBOL(memset);
OpenPOWER on IntegriCloud