configure: Add __vmalloc() wrapper

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2020-12-11 20:27:48 +01:00
parent bbd0cb57a5
commit ca7f809965
3 changed files with 49 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ static inline void env_free(const void *ptr)
static inline void *env_vmalloc_flags(size_t size, int flags)
{
return __vmalloc(size, flags | __GFP_HIGHMEM, PAGE_KERNEL);
return cas_vmalloc(size, flags | __GFP_HIGHMEM);
}
static inline void *env_vzalloc_flags(size_t size, int flags)