diff options
author | 2021-08-11 08:30:25 +0100 | |
---|---|---|
committer | 2021-08-20 11:39:27 +0100 | |
commit | 2df4c9a741a0b5e2883cc356c1b724d1f739fb55 (patch) | |
tree | fb0a1688f228d9003d2a7d23ac3422f944969ccc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: 9111/1: oabi-compat: rework fcntl64() emulation (diff) | |
download | wireguard-linux-2df4c9a741a0b5e2883cc356c1b724d1f739fb55.tar.xz wireguard-linux-2df4c9a741a0b5e2883cc356c1b724d1f739fb55.zip |
ARM: 9112/1: uaccess: add __{get,put}_kernel_nofault
These mimic the behavior of get_user and put_user, except
for domain switching, address limit checking and handling
of mismatched sizes, none of which are relevant here.
To work with pre-Armv6 kernels, this has to avoid TUSER()
inside of the new macros, the new approach passes the "t"
string along with the opcode, which is a bit uglier but
avoids duplicating more code.
As there is no __get_user_asm_dword(), I work around it
by copying 32 bit at a time, which is possible because
the output size is known.
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions