diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-03-04 18:53:41 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-03-04 18:53:41 +0000 |
commit | ce930365d16356e873acd9a732ae863445b7b4e6 (patch) | |
tree | 43dbfa1e6bd940017e9e903e8083d4a4e331629f /sys/compat | |
parent | 8f368d485de0d1fb7d686beb4e4e26685410869e (diff) | |
download | src-ce930365d16356e873acd9a732ae863445b7b4e6.tar.gz src-ce930365d16356e873acd9a732ae863445b7b4e6.zip |
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
Notes
Notes:
svn path=/head/; revision=330396
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/slab.h | 3 |
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 c4a3179a5e9f..69078bd796bd 100644 --- a/sys/compat/linuxkpi/common/include/linux/slab.h +++ b/sys/compat/linuxkpi/common/include/linux/slab.h @@ -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) { |