aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/vmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/vmalloc.h')
-rw-r--r--include/linux/vmalloc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index de05e96e0a70..44b54f619ac6 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -51,8 +51,10 @@ static inline void vmalloc_init(void)
51#endif 51#endif
52 52
53extern void *vmalloc(unsigned long size); 53extern void *vmalloc(unsigned long size);
54extern void *vzalloc(unsigned long size);
54extern void *vmalloc_user(unsigned long size); 55extern void *vmalloc_user(unsigned long size);
55extern void *vmalloc_node(unsigned long size, int node); 56extern void *vmalloc_node(unsigned long size, int node);
57extern void *vzalloc_node(unsigned long size, int node);
56extern void *vmalloc_exec(unsigned long size); 58extern void *vmalloc_exec(unsigned long size);
57extern void *vmalloc_32(unsigned long size); 59extern void *vmalloc_32(unsigned long size);
58extern void *vmalloc_32_user(unsigned long size); 60extern void *vmalloc_32_user(unsigned long size);
@@ -115,10 +117,12 @@ extern rwlock_t vmlist_lock;
115extern struct vm_struct *vmlist; 117extern struct vm_struct *vmlist;
116extern __init void vm_area_register_early(struct vm_struct *vm, size_t align); 118extern __init void vm_area_register_early(struct vm_struct *vm, size_t align);
117 119
120#ifdef CONFIG_SMP
118struct vm_struct **pcpu_get_vm_areas(const unsigned long *offsets, 121struct vm_struct **pcpu_get_vm_areas(const unsigned long *offsets,
119 const size_t *sizes, int nr_vms, 122 const size_t *sizes, int nr_vms,
120 size_t align, gfp_t gfp_mask); 123 size_t align, gfp_t gfp_mask);
121 124
122void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms); 125void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
126#endif
123 127
124#endif /* _LINUX_VMALLOC_H */ 128#endif /* _LINUX_VMALLOC_H */