tmp_suning_uos_patched/arch/arm64/lib
Will Deacon 12a0ef7b0a arm64: use generic strnlen_user and strncpy_from_user functions
This patch implements the word-at-a-time interface for arm64 using the
same algorithm as ARM. We use the fls64 macro, which expands to a clz
instruction via a compiler builtin. Big-endian configurations make use
of the implementation from asm-generic.

With this implemented, we can replace our byte-at-a-time strnlen_user
and strncpy_from_user functions with the optimised generic versions.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2013-12-19 17:43:06 +00:00
..
bitops.S
clear_page.S
clear_user.S
copy_from_user.S
copy_in_user.S
copy_page.S
copy_to_user.S
delay.c
Makefile
memchr.S
memcpy.S
memmove.S
memset.S
strchr.S
strrchr.S