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