OSDN Git Service

powerpc/mm/slice: Consolidate return path in slice_get_unmapped_area()
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 26 Mar 2018 10:04:47 +0000 (15:34 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Mar 2018 13:10:37 +0000 (00:10 +1100)
commit0dea04b288c06654b0de3563c5b8cdfe6130e450
tree22d7e6ee196810b4b2a53e232e1c61f7b736edb2
parent1a2f778970c81273c121be160fb6610be8fa423e
powerpc/mm/slice: Consolidate return path in slice_get_unmapped_area()

In a following patch, on finding a free area we will need to do
allocatinon of extra contexts as needed. Consolidating the return path
for slice_get_unmapped_area() will make that easier.

Split into a separate patch to make review easy.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/slice.c