Date: Sun, 4 Mar 2018 18:53:41 +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: r330396 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <201803041853.w24Irf3w007662@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Sun Mar 4 18:53:41 2018 New Revision: 330396 URL: https://svnweb.freebsd.org/changeset/base/330396 Log: Keep the old SLAB_DESTROY_BY_RCU macro definition around in the LinuxKPI to avoid compilation breakage in external kernel modules. MFC after: 1 week Sponsored by: Mellanox Technologies 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 Sun Mar 4 18:51:43 2018 (r330395) +++ head/sys/compat/linuxkpi/common/include/linux/slab.h Sun Mar 4 18:53:41 2018 (r330396) @@ -82,6 +82,9 @@ struct linux_kmem_cache { #define SLAB_TYPESAFE_BY_RCU (1 << 1) #define SLAB_RECLAIM_ACCOUNT (1 << 2) +#define SLAB_DESTROY_BY_RCU \ + SLAB_TYPESAFE_BY_RCU + 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?201803041853.w24Irf3w007662>