From: David S. Miller Date: Thu, 24 May 2012 20:12:28 +0000 (-0700) Subject: lib: Sparc's strncpy_from_user is generic enough, move under lib/ X-Git-Tag: v3.5-rc1~90^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2922585b93294d47172a765115e0dbc1bfe1be19;p=pandora-kernel.git lib: Sparc's strncpy_from_user is generic enough, move under lib/ To use this, an architecture simply needs to: 1) Provide a user_addr_max() implementation via asm/uaccess.h 2) Add "select GENERIC_STRNCPY_FROM_USER" to their arch Kcnfig 3) Remove the existing strncpy_from_user() implementation and symbol exports their architecture had. Signed-off-by: David S. Miller Acked-by: David Howells --- Reading git-diff-tree failed