diff options
author | David Rientjes <rientjes@google.com> | 2011-01-13 18:46:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 20:32:34 -0500 |
commit | ec3f64fc9c196a304c4b7db3e1ff56d640628509 (patch) | |
tree | 43de86d9fbb6543b99e1f450b1a3c15a3f151fa0 /mm/percpu-vm.c | |
parent | e5a5623b28198aa91ea71ee5d3846757fc76bc87 (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 'mm/percpu-vm.c')
-rw-r--r-- | mm/percpu-vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/percpu-vm.c b/mm/percpu-vm.c index 7d9c1d0ebd3f..ea534960a04b 100644 --- a/mm/percpu-vm.c +++ b/mm/percpu-vm.c | |||
@@ -421,7 +421,7 @@ static struct pcpu_chunk *pcpu_create_chunk(void) | |||
421 | return NULL; | 421 | return NULL; |
422 | 422 | ||
423 | vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes, | 423 | vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes, |
424 | pcpu_nr_groups, pcpu_atom_size, GFP_KERNEL); | 424 | pcpu_nr_groups, pcpu_atom_size); |
425 | if (!vms) { | 425 | if (!vms) { |
426 | pcpu_free_chunk(chunk); | 426 | pcpu_free_chunk(chunk); |
427 | return NULL; | 427 | return NULL; |