scst: Port to Oracle Linux 7 UEKR5 (merge r8018 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-04-30 13:53:38 +00:00
parent 17de279179
commit eb6928aa07

View File

@@ -965,7 +965,8 @@ static inline struct kmem_cache *kmem_cache_create_usercopy(const char *name,
{
return kmem_cache_create(name, size, align, flags, ctor, NULL);
}
#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)
/* UEKR5 is based on kernel v4.14.35 but has a backport of the v4.16 API. */
#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) && !defined(UEK_KABI_RENAME)
static inline struct kmem_cache *kmem_cache_create_usercopy(const char *name,
unsigned int size, unsigned int align,
unsigned long flags,