aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/slb.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2018-09-20 14:03:57 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-14 18:04:09 +1100
commitc9f80734cd552ddba50567bc43b0ff250a4b2c17 (patch)
tree11832d0278e7e72422687c47dd71de6dc705b249 /arch/powerpc/mm/slb.c
parentpowerpc/64s/hash: Add some SLB debugging tests (diff)
downloadlinux-dev-c9f80734cd552ddba50567bc43b0ff250a4b2c17.tar.xz
linux-dev-c9f80734cd552ddba50567bc43b0ff250a4b2c17.zip
powerpc/mm/hash: Rename get_ea_context to get_user_context
We will be adding get_kernel_context later. Update function name to indicate this handle context allocation user space address. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.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 4b6e7a21a7c5..4fe5cb5052b6 100644
--- a/arch/powerpc/mm/slb.c
+++ b/arch/powerpc/mm/slb.c
@@ -734,7 +734,7 @@ static long slb_allocate_user(struct mm_struct *mm, unsigned long ea)
if (ea >= mm->context.slb_addr_limit)
return -EFAULT;
- context = get_ea_context(&mm->context, ea);
+ context = get_user_context(&mm->context, ea);
if (!context)
return -EFAULT;