summaryrefslogtreecommitdiffstats
path: root/arch/tile/lib/exports.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2015-04-30 21:12:42 +0200
committerChris Metcalf <cmetcalf@ezchip.com>2015-04-30 21:23:37 +0200
commit5bf6c07a1843813d0065feaaecba622d49148d7e (patch)
tree18118d48ffe123ce6f6d3eaa67dba135adafbc1a /arch/tile/lib/exports.c
parenttile: use READ_ONCE() in arch_spin_is_locked() (diff)
downloadlinux-5bf6c07a1843813d0065feaaecba622d49148d7e.tar.xz
linux-5bf6c07a1843813d0065feaaecba622d49148d7e.zip
tile: add <asm/word-at-a-time.h> and enable support functions
This change enables the generic strncpy_from_user() and strnlen_user() using word-at-a-time.h. The tile implementation is trivial since both tilepro and tilegx have SIMD operations that do byte-wise comparisons against immediate zero for each byte, and return an 0x01 byte in each position where there is a 0x00 byte. Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to 'arch/tile/lib/exports.c')
-rw-r--r--arch/tile/lib/exports.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/tile/lib/exports.c b/arch/tile/lib/exports.c
index 82733c87d67e..16326f288177 100644
--- a/arch/tile/lib/exports.c
+++ b/arch/tile/lib/exports.c
@@ -18,8 +18,6 @@
/* arch/tile/lib/usercopy.S */
#include <linux/uaccess.h>
-EXPORT_SYMBOL(strnlen_user_asm);
-EXPORT_SYMBOL(strncpy_from_user_asm);
EXPORT_SYMBOL(clear_user_asm);
EXPORT_SYMBOL(flush_user_asm);
EXPORT_SYMBOL(finv_user_asm);