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
This commit is contained in:
hselasky 2018-03-04 18:53:41 +00:00
parent 8e70a8ef19
commit 7e77289d46

View File

@ -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)
{