|
|
@ -89,7 +89,7 @@ |
|
|
|
* We enter with non-exclusive mmap_sem (to exclude vma changes,
|
|
|
|
* We enter with non-exclusive mmap_sem (to exclude vma changes,
|
|
|
|
--- a/mm/vmalloc.c
|
|
|
|
--- a/mm/vmalloc.c
|
|
|
|
+++ b/mm/vmalloc.c
|
|
|
|
+++ b/mm/vmalloc.c
|
|
|
|
@@ -1245,6 +1245,7 @@ void unmap_kernel_range(unsigned long ad
|
|
|
|
@@ -1246,6 +1246,7 @@ void unmap_kernel_range(unsigned long ad
|
|
|
|
vunmap_page_range(addr, end);
|
|
|
|
vunmap_page_range(addr, end);
|
|
|
|
flush_tlb_kernel_range(addr, end);
|
|
|
|
flush_tlb_kernel_range(addr, end);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -97,7 +97,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages)
|
|
|
|
int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@@ -1360,6 +1361,7 @@ struct vm_struct *get_vm_area(unsigned l
|
|
|
|
@@ -1361,6 +1362,7 @@ struct vm_struct *get_vm_area(unsigned l
|
|
|
|
return __get_vm_area_node(size, 1, flags, VMALLOC_START, VMALLOC_END,
|
|
|
|
return __get_vm_area_node(size, 1, flags, VMALLOC_START, VMALLOC_END,
|
|
|
|
-1, GFP_KERNEL, __builtin_return_address(0));
|
|
|
|
-1, GFP_KERNEL, __builtin_return_address(0));
|
|
|
|
}
|
|
|
|
}
|
|
|
|