]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: helper functions to initialize AMR, IAMR and UAMOR registers
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:27 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 11:58:58 +0000 (22:58 +1100)
commit8d1149aabe4ec606846861cd35497ac72a4bfd07
tree51f6f6de62e18bfcf7e73ae179d20bc6660f5ce9
parent8feb18b426954dc73da4415a53b62d50d8ba1e94
powerpc: helper functions to initialize AMR, IAMR and UAMOR registers

Introduce  helper functions that can initialize the bits in the AMR,
IAMR and UAMOR register; the bits that correspond to the given pkey.

Reviewed-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pkeys.c