From: Brian Behlendorf Date: Mon, 29 Jul 2019 01:15:26 +0000 (-0700) Subject: Fix channel programs on s390x X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adf495e23982f2f94b468806fa059358fcab0c88;p=zfs Fix channel programs on s390x When adapting the original sources for s390x the JMP_BUF_CNT was mistakenly halved due to an incorrect assumption of the size of a unsigned long. They are 8 bytes for the s390x architecture. Increase JMP_BUF_CNT accordingly. Authored-by: Don Brady Reviewed-by: Brian Behlendorf Reported-by: Colin Ian King Tested-by: Colin Ian King Signed-off-by: Brian Behlendorf Closes #8992 Closes #9080 --- diff --git a/module/lua/ldo.c b/module/lua/ldo.c index aca02b234..59d0b6a2c 100644 --- a/module/lua/ldo.c +++ b/module/lua/ldo.c @@ -61,7 +61,7 @@ #elif defined(__mips__) #define JMP_BUF_CNT 12 #elif defined(__s390x__) -#define JMP_BUF_CNT 9 +#define JMP_BUF_CNT 18 #else #define JMP_BUF_CNT 1 #endif