sparc: Increase portability of strncpy_from_user() implementation.
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 May 2012 02:56:06 +0000 (19:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 May 2012 20:04:24 +0000 (13:04 -0700)
Hide details of maximum user address calculation in a new
asm/uaccess.h interface named user_addr_max().

Provide little-endian implementation in find_zero(), which should work
but can probably be improved.

Abstrace alignment check behind IS_UNALIGNED() macro.

Kill double-semicolon, noticed by David Howells.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found