diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2015-04-30 21:12:42 +0200 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2015-04-30 21:23:37 +0200 |
commit | 5bf6c07a1843813d0065feaaecba622d49148d7e (patch) | |
tree | 18118d48ffe123ce6f6d3eaa67dba135adafbc1a /drivers/tty | |
parent | tile: use READ_ONCE() in arch_spin_is_locked() (diff) | |
download | linux-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 'drivers/tty')
0 files changed, 0 insertions, 0 deletions