summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/asm/word-at-a-time.h
Commit message (Collapse)AuthorAgeFilesLines
* tile: add <asm/word-at-a-time.h> and enable support functionsChris Metcalf2015-04-301-0/+36
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>