]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8afc944b25c546d6fa90b0729eef1385fcc691f1
treefcd8cdc6a20be99816dcf9741b26215c1a69f27d
parent89ea84d6a65a7b3d4c4483083ee25f25bdca51db
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