summaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2024-12-19 19:15:06 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2024-12-19 13:15:52 +0100
commit29d44cce324dab2bd86c447071a596262e7109b6 (patch)
treeb269ff9d04c08c2fa38e64c42d8f6c23709525fb /lib/mpi
parent23579010cf0a12476e96a5f1acdf78a9c5843657 (diff)
selftests/bpf: Use asm constraint "m" for LoongArch
Currently, LoongArch LLVM does not support the constraint "o" and no plan to support it, it only supports the similar constraint "m", so change the constraints from "nor" in the "else" case to arch-specific "nmr" to avoid the build error such as "unexpected asm memory constraint" for LoongArch. Fixes: 630301b0d59d ("selftests/bpf: Add basic USDT selftests") Suggested-by: Weining Lu <luweining@loongson.cn> Suggested-by: Li Chen <chenli@loongson.cn> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Huacai Chen <chenhuacai@loongson.cn> Cc: stable@vger.kernel.org Link: https://llvm.org/docs/LangRef.html#supported-constraint-code-list Link: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp#L172 Link: https://lore.kernel.org/bpf/20241219111506.20643-1-yangtiezhu@loongson.cn
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions