Skip to content
Commit 35c96460 authored by David S. Miller's avatar David S. Miller
Browse files

sparc: Increase portability of strncpy_from_user() implementation.



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: default avatarDavid S. Miller <davem@davemloft.net>
parent 4efcac3a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment