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)
commit1a2f778970c81273c121be160fb6610be8fa423e
tree8acff16a910d43061640b40b76aa47582ab5b368
parent16b19f1a03f6a49618611b76818f04ea9cd15fb5
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