]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - arch/powerpc/include/asm/mmu.h
powerpc: introduce get_mm_addr_key() helper
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:41 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 11:59:05 +0000 (22:59 +1100)
commit087003e9ef7c1c5bec932387e47511429eff2a54
treefcd8cdc6a20be99816dcf9741b26215c1a69f27d
parente6c2a4797e101a25eced94aa9e1fc42c30247aec
powerpc: introduce get_mm_addr_key() helper

get_mm_addr_key() helper returns the pkey associated with
an address corresponding to a given mm_struct.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/mmu.h
arch/powerpc/mm/hash_utils_64.c