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>
This commit is contained in:

committed by
Michael Ellerman

parent
e15a4fea4d
commit
c9f80734cd
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user