diff options
author | Julien Thierry <[email protected]> | 2019-01-15 13:58:27 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2019-01-25 12:30:48 +0000 |
commit | 0bd3ef34d2a8dd4056560567073d8bfc5da92e39 (patch) | |
tree | 54e5db9859e03f183308bb2e86058664eba4ef07 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 13e4cdd785867a632516f9cb5dfbe5ba20822820 (diff) |
arm64: uaccess: Implement unsafe accessors
Current implementation of get/put_user_unsafe default to get/put_user
which toggle PAN before each access, despite having been told by the caller
that multiple accesses to user memory were about to happen.
Provide implementations for user_access_begin/end to turn PAN off/on and
implement unsafe accessors that assume PAN was already turned off.
Signed-off-by: Julien Thierry <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions