diff options
| author | Jisheng Zhang <[email protected]> | 2025-04-10 07:05:26 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2025-05-08 17:01:00 +0000 |
| commit | f6bff7827a48e59cff1ef98aae72452d65174e0c (patch) | |
| tree | b0585c193bb888911f2b39cfd6df088226683073 /scripts/bpf_doc.py | |
| parent | riscv: uaccess: use 'asm goto' for put_user() (diff) | |
| download | kernel-f6bff7827a48e59cff1ef98aae72452d65174e0c.tar.gz kernel-f6bff7827a48e59cff1ef98aae72452d65174e0c.zip | |
riscv: uaccess: use 'asm_goto_output' for get_user()
With 'asm goto' we don't need to test the error etc, the exception just
jumps to the error handling directly.
Unlike put_user(), get_user() must work around GCC bugs [1] when using
output clobbers in an asm goto statement.
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113921 # 1
Signed-off-by: Jisheng Zhang <[email protected]>
[Cyril Bur: Rewritten commit message]
Signed-off-by: Cyril Bur <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
