diff options
author | Brooks Davis <[email protected]> | 2022-10-28 17:36:43 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-11-03 09:39:51 -0700 |
commit | 7309e94239a456de043c590ae85027e932c86f62 (patch) | |
tree | 54ae9d58a598fc99aa95197c9e1ae80654da5ead /include | |
parent | 5229071ba1e6c5dbba277e50306d2ad38f417947 (diff) |
linux isa_defs.h: Don't define _ALIGNMENT_REQUIRED
Nothing consumes this definition so stop defining it.
Reviewed-by: Richard Yao <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Brooks Davis <[email protected]>
Closes #14128
Diffstat (limited to 'include')
-rw-r--r-- | include/os/linux/spl/sys/isa_defs.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/include/os/linux/spl/sys/isa_defs.h b/include/os/linux/spl/sys/isa_defs.h index ee3b74607..5801ec92b 100644 --- a/include/os/linux/spl/sys/isa_defs.h +++ b/include/os/linux/spl/sys/isa_defs.h @@ -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__) @@ -197,12 +173,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: |