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:

committed by
Michael Ellerman

parent
a4d3621503
commit
52b1e66587
@@ -192,7 +192,7 @@ static void slice_flush_segments(void *parm)
|
||||
if (mm != current->active_mm)
|
||||
return;
|
||||
|
||||
copy_mm_to_paca(¤t->active_mm->context);
|
||||
copy_mm_to_paca(current->active_mm);
|
||||
|
||||
local_irq_save(flags);
|
||||
slb_flush_and_rebolt();
|
||||
|
Reference in New Issue
Block a user