Revert "msm: Increase the kernel virtual area to include lowmem"

This reverts commit 71a14bc337.

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
UtsavBalar1231 2022-04-26 21:04:41 +05:30 committed by spakkkk
parent a9ffeccfb2
commit 32d60364c4

View File

@ -2121,28 +2121,17 @@ struct vm_struct *__get_vm_area_caller(unsigned long size, unsigned long flags,
*/
struct vm_struct *get_vm_area(unsigned long size, unsigned long flags)
{
#ifdef CONFIG_ENABLE_VMALLOC_SAVING
return __get_vm_area_node(size, 1, flags, PAGE_OFFSET, VMALLOC_END,
NUMA_NO_NODE, GFP_KERNEL,
__builtin_return_address(0));
#else
return __get_vm_area_node(size, 1, flags, VMALLOC_START, VMALLOC_END,
NUMA_NO_NODE, GFP_KERNEL,
__builtin_return_address(0));
#endif
}
EXPORT_SYMBOL_GPL(get_vm_area);
struct vm_struct *get_vm_area_caller(unsigned long size, unsigned long flags,
const void *caller)
{
#ifdef CONFIG_ENABLE_VMALLOC_SAVING
return __get_vm_area_node(size, 1, flags, PAGE_OFFSET, VMALLOC_END,
NUMA_NO_NODE, GFP_KERNEL, caller);
#else
return __get_vm_area_node(size, 1, flags, VMALLOC_START, VMALLOC_END,
NUMA_NO_NODE, GFP_KERNEL, caller);
#endif
}
/**