From: Paul Mackerras Date: Mon, 28 May 2012 03:03:47 +0000 (+1000) Subject: powerpc: Use the new generic strncpy_from_user() and strnlen_user() X-Git-Tag: v3.5-rc1~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1629372caaaf7ef744d3b983be56b99468a68ff8;p=pandora-kernel.git powerpc: Use the new generic strncpy_from_user() and strnlen_user() 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 Acked-by: David S. Miller Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed