aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/vmalloc.h
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2011-01-13 18:46:01 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 20:32:34 -0500
commitec3f64fc9c196a304c4b7db3e1ff56d640628509 (patch)
tree43de86d9fbb6543b99e1f450b1a3c15a3f151fa0 /include/linux/vmalloc.h
parente5a5623b28198aa91ea71ee5d3846757fc76bc87 (diff)
mm: remove gfp mask from pcpu_get_vm_areas
pcpu_get_vm_areas() only uses GFP_KERNEL allocations, so remove the gfp_t formal and use the mask internally. Signed-off-by: David Rientjes <rientjes@google.com> Cc: Christoph Lameter <cl@linux.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/vmalloc.h')
-rw-r--r--include/linux/vmalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index cb73c755fac8..c7348b8d0a81 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -117,7 +117,7 @@ extern __init void vm_area_register_early(struct vm_struct *vm, size_t align);
117#ifdef CONFIG_SMP 117#ifdef CONFIG_SMP
118struct vm_struct **pcpu_get_vm_areas(const unsigned long *offsets, 118struct vm_struct **pcpu_get_vm_areas(const unsigned long *offsets,
119 const size_t *sizes, int nr_vms, 119 const size_t *sizes, int nr_vms,
120 size_t align, gfp_t gfp_mask); 120 size_t align);
121 121
122void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms); 122void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
123#endif 123#endif