diff options
author | Mark Rutland <mark.rutland@arm.com> | 2020-12-02 13:15:52 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-12-02 19:49:11 +0000 |
commit | f253d827f33cb5a5990b5cfd271941d1a21ecd85 (patch) | |
tree | 1e97083ea9211dee97c671036f00717fe706595d /fs/gfs2 | |
parent | 9e94fdade4d8f3c9b64c302ba081e2718c9e4087 (diff) | |
download | linux-f253d827f33cb5a5990b5cfd271941d1a21ecd85.tar.bz2 |
arm64: uaccess: refactor __{get,put}_user
As a step towards implementing __{get,put}_kernel_nofault(), this patch
splits most user-memory specific logic out of __{get,put}_user(), with
the memory access and fault handling in new __{raw_get,put}_mem()
helpers.
For now the LDR/LDTR patching is left within the *get_mem() helpers, and
will be removed in a subsequent patch.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20201202131558.39270-7-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions