aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-11-06 17:20:22 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2013-12-19 17:43:06 +0000
commit12a0ef7b0ac38677bd2d85f33df5ca0a57868819 (patch)
tree59b4be2d48b136aac65c7201a975a9463917e020 /arch/arm64/kvm
parentarm64: percpu: implement optimised pcpu access using tpidr_el1 (diff)
downloadlinux-dev-12a0ef7b0ac38677bd2d85f33df5ca0a57868819.tar.xz
linux-dev-12a0ef7b0ac38677bd2d85f33df5ca0a57868819.zip
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>
Diffstat (limited to 'arch/arm64/kvm')
0 files changed, 0 insertions, 0 deletions