diff options
author | Romain Dolbeau <[email protected]> | 2019-11-06 19:56:09 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-11-06 10:56:09 -0800 |
commit | 4254e407294b211f3399da2ee131b45fe9f4ac80 (patch) | |
tree | 84343b4bccb01e4d15fb090c4e69dc4a0fcfddf5 /module/lua/ldo.c | |
parent | 27ece2ee4d9a3e814edfc6ff7cbbc56537d94b59 (diff) |
Preliminary support for RV64G
This adds basic support for RISC-V, specifically RV64G.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Romain Dolbeau <[email protected]>
Closes #9540
Diffstat (limited to 'module/lua/ldo.c')
-rw-r--r-- | module/lua/ldo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/lua/ldo.c b/module/lua/ldo.c index 3b0ece171..ecdb80020 100644 --- a/module/lua/ldo.c +++ b/module/lua/ldo.c @@ -63,6 +63,8 @@ #define JMP_BUF_CNT 12 #elif defined(__s390x__) #define JMP_BUF_CNT 18 +#elif defined(__riscv) +#define JMP_BUF_CNT 64 #else #define JMP_BUF_CNT 1 #endif |