tile: add <asm/word-at-a-time.h> and enable support functions
authorChris Metcalf <cmetcalf@ezchip.com>
Thu, 30 Apr 2015 19:12:42 +0000 (15:12 -0400)
committerChris Metcalf <cmetcalf@ezchip.com>
Thu, 30 Apr 2015 19:23:37 +0000 (15:23 -0400)
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>

No differences found