powerpc/mm: Move copy_mm_to_paca to paca.c

We also update the function arg to struct mm_struct. Move this so that function
finds the definition of struct mm_struct. No functional change in this patch.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Aneesh Kumar K.V
2017-03-22 09:06:49 +05:30
committed by Michael Ellerman
parent a4d3621503
commit 52b1e66587
5 changed files with 24 additions and 21 deletions

View File

@@ -192,7 +192,7 @@ static void slice_flush_segments(void *parm)
if (mm != current->active_mm)
return;
copy_mm_to_paca(&current->active_mm->context);
copy_mm_to_paca(current->active_mm);
local_irq_save(flags);
slb_flush_and_rebolt();