mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
Add support for s390[x].
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com> Signed-off-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #537
This commit is contained in:
parent
7bb5d92de8
commit
224817e2a8
@ -131,7 +131,21 @@
|
||||
#define _BIG_ENDIAN
|
||||
#define _SUNOS_VTOC_16
|
||||
|
||||
#else /* Currently x86_64, i386, arm, powerpc, and sparc are supported */
|
||||
/* s390 arch specific defines */
|
||||
#elif defined(__s390__)
|
||||
#if defined(__s390x__)
|
||||
#if !defined(_LP64)
|
||||
#define _LP64
|
||||
#endif
|
||||
#else
|
||||
#if !defined(_ILP32)
|
||||
#define _ILP32
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define _BIG_ENDIAN
|
||||
|
||||
#else /* Currently x86_64, i386, arm, powerpc, s390, and sparc are supported */
|
||||
#error "Unsupported ISA type"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user