+2
−0
+10
−56
arch/tile/include/asm/word-at-a-time.h
0 → 100644
+36
−0
+0
−2
+0
−46
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>