openrisc: use generic strncpy_from_user
As per commits2922585b93
("lib: Sparc's strncpy_from_user is generic enough, move under lib/") and92ae03f2ef
("x86: merge 32/64-bit versions of 'strncpy_from_user()' and speed it up"), and corresponding discussion on linux-arch. Signed-off-by: Jonas Bonn <jonas@southpole.se> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
ece78b7df7
commit
603d6637ae
@@ -19,6 +19,7 @@ config OPENRISC
|
||||
select GENERIC_CPU_DEVICES
|
||||
select GENERIC_ATOMIC64
|
||||
select GENERIC_CLOCKEVENTS
|
||||
select GENERIC_STRNCPY_FROM_USER
|
||||
|
||||
config MMU
|
||||
def_bool y
|
||||
|
Reference in New Issue
Block a user