]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/keys: Move pte bits to correct headers
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 7 Mar 2018 13:36:44 +0000 (19:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Mar 2018 13:10:36 +0000 (00:10 +1100)
commit04e614caf55cabe6e29011b813d7e281ca4e1e3f
tree8acff16a910d43061640b40b76aa47582ab5b368
parent0785bc5a0f7796f0a1f32eaaf02c255f57f4d0ed
powerpc/mm/keys: Move pte bits to correct headers

Memory keys are supported only with hash translation mode. Instead of
using #ifdef in generic code move the key related pte bits to
respective headers

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/hash-4k.h
arch/powerpc/include/asm/book3s/64/hash-64k.h
arch/powerpc/include/asm/book3s/64/pgtable.h