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>
This commit is contained in:
committed by
Linus Torvalds
parent
e5a5623b28
commit
ec3f64fc9c
@ -421,7 +421,7 @@ static struct pcpu_chunk *pcpu_create_chunk(void)
|
||||
return NULL;
|
||||
|
||||
vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes,
|
||||
pcpu_nr_groups, pcpu_atom_size, GFP_KERNEL);
|
||||
pcpu_nr_groups, pcpu_atom_size);
|
||||
if (!vms) {
|
||||
pcpu_free_chunk(chunk);
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user