diff options
Diffstat (limited to 'include/spl')
-rw-r--r-- | include/spl/sys/isa_defs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/spl/sys/isa_defs.h b/include/spl/sys/isa_defs.h index 089ae0f85..1eb400277 100644 --- a/include/spl/sys/isa_defs.h +++ b/include/spl/sys/isa_defs.h @@ -210,6 +210,14 @@ #include <sys/byteorder.h> +/* + * CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS will be defined by the Linux + * kernel for architectures which support efficient unaligned access. + */ +#if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) +#define HAVE_EFFICIENT_UNALIGNED_ACCESS +#endif + #if defined(__LITTLE_ENDIAN) && !defined(_LITTLE_ENDIAN) #define _LITTLE_ENDIAN __LITTLE_ENDIAN #endif |