]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 5 Sep 2012 15:36:28 +0000 (16:36 +0100)
commitc8c7fa84ccd5ee55ec23f5d7b6e9f978bce7f4aa
tree495c17b04db5b28960daabb21525c6886ed2fcd5
parent795d366e4241d9b9a5d05ebd5141c6eb2dd56b2f
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>
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]