aboutsummaryrefslogtreecommitdiffstats
path: root/module/lua/setjmp/setjmp.S
diff options
context:
space:
mode:
authorHan Gao <[email protected]>2023-04-26 07:05:45 +0800
committerGitHub <[email protected]>2023-04-25 16:05:45 -0700
commit6d59d5df9808902a3cb6064605c753ec2ab8d2d7 (patch)
tree3918ec91a32fc382f4462380e447955c7a331e75 /module/lua/setjmp/setjmp.S
parent6b6aaf6dc2e65c63c74fbd7840c14627e9a91ce2 (diff)
Add loongarch64 support
Add loongarch64 definitions & lua module setjmp asm LoongArch is a new RISC ISA, which is a bit like MIPS or RISC-V. Reviewed-by: Richard Yao <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Han Gao <[email protected]> Signed-off-by: WANG Xuerui <[email protected]> Closes #13422
Diffstat (limited to 'module/lua/setjmp/setjmp.S')
-rw-r--r--module/lua/setjmp/setjmp.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/lua/setjmp/setjmp.S b/module/lua/setjmp/setjmp.S
index 1f461a0a4..6f03eea92 100644
--- a/module/lua/setjmp/setjmp.S
+++ b/module/lua/setjmp/setjmp.S
@@ -16,4 +16,6 @@
#include "setjmp_s390x.S"
#elif defined(__riscv)
#include "setjmp_rv64g.S"
+#elif defined(__loongarch_lp64)
+#include "setjmp_loongarch64.S"
#endif