aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/slb.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2017-03-22 09:06:49 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2017-03-31 23:09:54 +1100
commit52b1e66587b6b4f2e5a09102b3a40eed8ec3675f (patch)
treeb0f2272245ec8d3aef1702692415d4539e6c0c38 /arch/powerpc/mm/slb.c
parentpowerpc/mm/slice: Update the function prototype (diff)
downloadlinux-dev-52b1e66587b6b4f2e5a09102b3a40eed8ec3675f.tar.xz
linux-dev-52b1e66587b6b4f2e5a09102b3a40eed8ec3675f.zip
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>
Diffstat (limited to '')
-rw-r--r--arch/powerpc/mm/slb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/slb.c b/arch/powerpc/mm/slb.c
index 5e01b2ece1d0..98ae810b8c21 100644
--- a/arch/powerpc/mm/slb.c
+++ b/arch/powerpc/mm/slb.c
@@ -229,7 +229,7 @@ void switch_slb(struct task_struct *tsk, struct mm_struct *mm)
asm volatile("slbie %0" : : "r" (slbie_data));
get_paca()->slb_cache_ptr = 0;
- copy_mm_to_paca(&mm->context);
+ copy_mm_to_paca(mm);
/*
* preload some userspace segments into the SLB.