aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/word-at-a-time.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-05-27powerpc: Use the new generic strncpy_from_user() and strnlen_user()Paul Mackerras1-0/+41
This is much the same as for SPARC except that we can do the find_zero() function more efficiently using the count-leading-zeroes instructions. Tested on 32-bit and 64-bit PowerPC. Signed-off-by: Paul Mackerras <paulus@samba.org> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>