diff options
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r-- | mm/vmalloc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 366ae9ea6af2..fb6f59935fb2 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c | |||
@@ -1196,6 +1196,14 @@ struct vm_struct *__get_vm_area(unsigned long size, unsigned long flags, | |||
1196 | } | 1196 | } |
1197 | EXPORT_SYMBOL_GPL(__get_vm_area); | 1197 | EXPORT_SYMBOL_GPL(__get_vm_area); |
1198 | 1198 | ||
1199 | struct vm_struct *__get_vm_area_caller(unsigned long size, unsigned long flags, | ||
1200 | unsigned long start, unsigned long end, | ||
1201 | void *caller) | ||
1202 | { | ||
1203 | return __get_vm_area_node(size, flags, start, end, -1, GFP_KERNEL, | ||
1204 | caller); | ||
1205 | } | ||
1206 | |||
1199 | /** | 1207 | /** |
1200 | * get_vm_area - reserve a contiguous kernel virtual area | 1208 | * get_vm_area - reserve a contiguous kernel virtual area |
1201 | * @size: size of the area | 1209 | * @size: size of the area |