summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2018-06-07 11:44:11 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2018-06-07 11:44:11 +0000
commit71ee95ddf7daa302fd4f16a084d63dc764306770 (patch)
treeed6803b884ef1328315b8bf0d0d682b0caf0c40e
parentd150e1528566088c08401861cd60a43baf5cfa3c (diff)
Notes
-rw-r--r--sys/compat/linuxkpi/common/include/linux/slab.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/slab.h b/sys/compat/linuxkpi/common/include/linux/slab.h
index 9664eebf39e4..c701e80f264e 100644
--- a/sys/compat/linuxkpi/common/include/linux/slab.h
+++ b/sys/compat/linuxkpi/common/include/linux/slab.h
@@ -85,6 +85,9 @@ struct linux_kmem_cache {
#define SLAB_DESTROY_BY_RCU \
SLAB_TYPESAFE_BY_RCU
+#define ARCH_KMALLOC_MINALIGN \
+ __alignof(unsigned long long)
+
static inline gfp_t
linux_check_m_flags(gfp_t flags)
{