Bugzilla – Attachment #838772: Changes needed for kernel 5.8 for patch to module_memory to work for bug #1172897
flush_cache_vmap(start, start + size);
return ret;
}
EXPORT_SYMBOL(map_kernel_range);
int is_vmalloc_or_module_addr(const void *x)
{
return __get_vm_area_node(size, 1, flags, start, end, NUMA_NO_NODE,
GFP_KERNEL, caller);
EXPORT_SYMBOL(__get_vm_area_caller);
/**
* get_vm_area - reserve a contiguous kernel virtual area