aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2025-04-10 07:05:26 +0000
committerPalmer Dabbelt <[email protected]>2025-05-08 17:01:00 +0000
commitf6bff7827a48e59cff1ef98aae72452d65174e0c (patch)
treeb0585c193bb888911f2b39cfd6df088226683073 /scripts/bpf_doc.py
parentriscv: uaccess: use 'asm goto' for put_user() (diff)
downloadkernel-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