summaryrefslogtreecommitdiff
path: root/init/calibrate.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-24 13:12:28 -0700
committerDavid S. Miller <davem@davemloft.net>2012-05-24 13:12:28 -0700
commit2922585b93294d47172a765115e0dbc1bfe1be19 (patch)
treeacb4436987d24b2a3fb3cef02097eefbc4762bbf /init/calibrate.c
parent446969084d33a4064a39d280806da642c54ba4ac (diff)
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 <davem@davemloft.net> Acked-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions