Date: Thu, 7 Jun 2018 11:44:11 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334778 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <201806071144.w57BiBTA080353@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Thu Jun 7 11:44:11 2018 New Revision: 334778 URL: https://svnweb.freebsd.org/changeset/base/334778 Log: Define ARCH_KMALLOC_MINALIGN in the LinuxKPI. Submitted by: Johannes Lundberg <johalun0@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks Modified: head/sys/compat/linuxkpi/common/include/linux/slab.h Modified: head/sys/compat/linuxkpi/common/include/linux/slab.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/slab.h Thu Jun 7 11:41:42 2018 (r334777) +++ head/sys/compat/linuxkpi/common/include/linux/slab.h Thu Jun 7 11:44:11 2018 (r334778) @@ -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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806071144.w57BiBTA080353>