diff options
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r-- | mm/vmalloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 6b8889da69a6..c623e0ce3f00 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c | |||
@@ -2056,6 +2056,7 @@ void free_vm_area(struct vm_struct *area) | |||
2056 | } | 2056 | } |
2057 | EXPORT_SYMBOL_GPL(free_vm_area); | 2057 | EXPORT_SYMBOL_GPL(free_vm_area); |
2058 | 2058 | ||
2059 | #ifdef CONFIG_SMP | ||
2059 | static struct vmap_area *node_to_va(struct rb_node *n) | 2060 | static struct vmap_area *node_to_va(struct rb_node *n) |
2060 | { | 2061 | { |
2061 | return n ? rb_entry(n, struct vmap_area, rb_node) : NULL; | 2062 | return n ? rb_entry(n, struct vmap_area, rb_node) : NULL; |
@@ -2336,6 +2337,7 @@ void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) | |||
2336 | free_vm_area(vms[i]); | 2337 | free_vm_area(vms[i]); |
2337 | kfree(vms); | 2338 | kfree(vms); |
2338 | } | 2339 | } |
2340 | #endif /* CONFIG_SMP */ | ||
2339 | 2341 | ||
2340 | #ifdef CONFIG_PROC_FS | 2342 | #ifdef CONFIG_PROC_FS |
2341 | static void *s_start(struct seq_file *m, loff_t *pos) | 2343 | static void *s_start(struct seq_file *m, loff_t *pos) |