diff options
| author | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-11-03 10:11:27 -0400 |
|---|---|---|
| committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-11-03 10:11:27 -0400 |
| commit | 8f987768eb99631374f4ab0bb19cd062baf1397d (patch) | |
| tree | b89aa5c207f7ba6a688f45657424b937f17ceb8a /include/linux/vmalloc.h | |
| parent | 63f7526f26f0a9291ac3f7a986aa18ebfb61ec19 (diff) | |
| parent | c8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4 (diff) | |
Merge commit 'v2.6.37-rc1' into for-2.6.37
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 */ |
