aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2012-05-27 23:03:47 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-28 00:00:07 -0400
commit1629372caaaf7ef744d3b983be56b99468a68ff8 (patch)
tree8d3cc2b69ba7b2626b2fe1b3de3ce2a19e45f524 /arch/powerpc/Kconfig
parent69ea6405980f217557b6a58f70ff60d8d88519a5 (diff)
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/Kconfig')
-rw-r--r--arch/powerpc/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 00b9874e2240..050cb371a69e 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -135,6 +135,8 @@ config PPC
135 select GENERIC_CMOS_UPDATE 135 select GENERIC_CMOS_UPDATE
136 select GENERIC_TIME_VSYSCALL 136 select GENERIC_TIME_VSYSCALL
137 select GENERIC_CLOCKEVENTS 137 select GENERIC_CLOCKEVENTS
138 select GENERIC_STRNCPY_FROM_USER
139 select GENERIC_STRNLEN_USER
138 140
139config EARLY_PRINTK 141config EARLY_PRINTK
140 bool 142 bool