arm64: User access library functions
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 5 Mar 2012 11:49:32 +0000 (11:49 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 17 Sep 2012 12:42:11 +0000 (13:42 +0100)
commit0aea86a2176c22647a5b683768f858d880d5e05b
tree6ffad0914ef41e69c672a0862f5a10a9e9f3cb43
parent2c020ed8d148f7562c01abaf875c9bbfb9a40a83
arm64: User access library functions

This patch add support for various user access functions. These
functions use the standard LDR/STR instructions and not the LDRT/STRT
variants in order to allow kernel addresses (after set_fs(KERNEL_DS)).

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/include/asm/uaccess.h [new file with mode: 0644]
arch/arm64/lib/clear_user.S [new file with mode: 0644]
arch/arm64/lib/copy_from_user.S [new file with mode: 0644]
arch/arm64/lib/copy_in_user.S [new file with mode: 0644]
arch/arm64/lib/copy_to_user.S [new file with mode: 0644]
arch/arm64/lib/strncpy_from_user.S [new file with mode: 0644]
arch/arm64/lib/strnlen_user.S [new file with mode: 0644]