mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
linux isa_defs.h: Don't define _ALIGNMENT_REQUIRED
Nothing consumes this definition so stop defining it. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Brooks Davis <brooks.davis@sri.com> Closes #14128
This commit is contained in:
parent
5229071ba1
commit
7309e94239
@ -47,9 +47,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define _ALIGNMENT_REQUIRED 1
|
||||
|
||||
|
||||
/* i386 arch specific defines */
|
||||
#elif defined(__i386) || defined(__i386__)
|
||||
|
||||
@ -65,8 +62,6 @@
|
||||
#define _ILP32
|
||||
#endif
|
||||
|
||||
#define _ALIGNMENT_REQUIRED 0
|
||||
|
||||
/* powerpc (ppc64) arch specific defines */
|
||||
#elif defined(__powerpc) || defined(__powerpc__) || defined(__powerpc64__)
|
||||
|
||||
@ -88,12 +83,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Illumos doesn't define _ALIGNMENT_REQUIRED for PPC, so default to 1
|
||||
* out of paranoia.
|
||||
*/
|
||||
#define _ALIGNMENT_REQUIRED 1
|
||||
|
||||
/* arm arch specific defines */
|
||||
#elif defined(__arm) || defined(__arm__)
|
||||
|
||||
@ -115,12 +104,6 @@
|
||||
#define _ZFS_BIG_ENDIAN
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Illumos doesn't define _ALIGNMENT_REQUIRED for ARM, so default to 1
|
||||
* out of paranoia.
|
||||
*/
|
||||
#define _ALIGNMENT_REQUIRED 1
|
||||
|
||||
/* aarch64 arch specific defines */
|
||||
#elif defined(__aarch64__)
|
||||
|
||||
@ -157,7 +140,6 @@
|
||||
|
||||
#define _ZFS_BIG_ENDIAN
|
||||
#define _SUNOS_VTOC_16
|
||||
#define _ALIGNMENT_REQUIRED 1
|
||||
|
||||
/* s390 arch specific defines */
|
||||
#elif defined(__s390__)
|
||||
@ -173,12 +155,6 @@
|
||||
|
||||
#define _ZFS_BIG_ENDIAN
|
||||
|
||||
/*
|
||||
* Illumos doesn't define _ALIGNMENT_REQUIRED for s390, so default to 1
|
||||
* out of paranoia.
|
||||
*/
|
||||
#define _ALIGNMENT_REQUIRED 1
|
||||
|
||||
/* MIPS arch specific defines */
|
||||
#elif defined(__mips__)
|
||||
|
||||
@ -196,12 +172,6 @@
|
||||
|
||||
#define _SUNOS_VTOC_16
|
||||
|
||||
/*
|
||||
* Illumos doesn't define _ALIGNMENT_REQUIRED for MIPS, so default to 1
|
||||
* out of paranoia.
|
||||
*/
|
||||
#define _ALIGNMENT_REQUIRED 1
|
||||
|
||||
/*
|
||||
* RISC-V arch specific defines
|
||||
* only RV64G (including atomic) LP64 is supported yet
|
||||
@ -225,8 +195,6 @@
|
||||
|
||||
#define _SUNOS_VTOC_16
|
||||
|
||||
#define _ALIGNMENT_REQUIRED 1
|
||||
|
||||
#else
|
||||
/*
|
||||
* Currently supported:
|
||||
|
Loading…
Reference in New Issue
Block a user