mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
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 <don.brady@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reported-by: Colin Ian King <canonical.com> Tested-by: Colin Ian King <canonical.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #8992 Closes #9080
This commit is contained in:
parent
a8c5bcb5de
commit
8c00159411
@ -61,7 +61,7 @@
|
|||||||
#elif defined(__mips__)
|
#elif defined(__mips__)
|
||||||
#define JMP_BUF_CNT 12
|
#define JMP_BUF_CNT 12
|
||||||
#elif defined(__s390x__)
|
#elif defined(__s390x__)
|
||||||
#define JMP_BUF_CNT 9
|
#define JMP_BUF_CNT 18
|
||||||
#else
|
#else
|
||||||
#define JMP_BUF_CNT 1
|
#define JMP_BUF_CNT 1
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user