summaryrefslogtreecommitdiff
path: root/scripts/bash-completion
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2026-04-22 10:45:34 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2026-04-22 10:45:34 +0300
commit534768410598539712e0097e060331c85f2d0c9d (patch)
tree434f20775d20fb23bcd58795c0904f1e24b80ad1 /scripts/bash-completion
parent1dd3e8a8eeb4059fb34b07578362380cf35b7ed5 (diff)
downloadlinux-534768410598539712e0097e060331c85f2d0c9d.tar.xz
LoongArch: BPF: Add the default case in emit_atomic() and rename it
Like the other archs such as x86 and riscv, add the default case in emit_atomic() to print an error message for the invalid opcode and return -EINVAL, then make its return type as int. While at it, given that all of the instructions in emit_atomic() are only read-modify-write instructions, rename emit_atomic() to emit_atomic_rmw() to make it clear, because there will be a new function emit_atomic_ld_st() for load-acquire and store-release instructions in the later patch. Acked-by: Hengqi Chen <hengqi.chen@gmail.com> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/bash-completion')
0 files changed, 0 insertions, 0 deletions