diff options
| author | Paul Mackerras <[email protected]> | 2012-05-28 03:03:47 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-05-28 04:00:07 +0000 |
| commit | 1629372caaaf7ef744d3b983be56b99468a68ff8 (patch) | |
| tree | 8d3cc2b69ba7b2626b2fe1b3de3ce2a19e45f524 /fs/proc/array.c | |
| parent | lib: Fix generic strnlen_user for 32-bit big-endian machines (diff) | |
| download | kernel-1629372caaaf7ef744d3b983be56b99468a68ff8.tar.gz kernel-1629372caaaf7ef744d3b983be56b99468a68ff8.zip | |
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 <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
