mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Tejun Heo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e5a5623b28
commit
ec3f64fc9c
3 changed files with 11 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue