diff options
author | Paul Mackerras <paulus@samba.org> | 2012-05-28 13:03:47 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-27 21:00:07 -0700 |
commit | 1629372caaaf7ef744d3b983be56b99468a68ff8 (patch) | |
tree | 8d3cc2b69ba7b2626b2fe1b3de3ce2a19e45f524 /arch/powerpc/kernel | |
parent | 69ea6405980f217557b6a58f70ff60d8d88519a5 (diff) | |
download | kernel_goldelico_gta04-1629372caaaf7ef744d3b983be56b99468a68ff8.zip kernel_goldelico_gta04-1629372caaaf7ef744d3b983be56b99468a68ff8.tar.gz kernel_goldelico_gta04-1629372caaaf7ef744d3b983be56b99468a68ff8.tar.bz2 |
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 <paulus@samba.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index d1f2aaf..3e40315 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c @@ -85,8 +85,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic); EXPORT_SYMBOL(__copy_tofrom_user); EXPORT_SYMBOL(__clear_user); -EXPORT_SYMBOL(__strncpy_from_user); -EXPORT_SYMBOL(__strnlen_user); EXPORT_SYMBOL(copy_page); #if defined(CONFIG_PCI) && defined(CONFIG_PPC32) |