OSDN Git Service

powerpc/mm: Don't hardcode the hash pte slot shift
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 1 Dec 2015 03:36:56 +0000 (09:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Dec 2015 04:19:15 +0000 (15:19 +1100)
commit4d9057c39aceb3a94ccb6005f4433a0105e60521
tree813f298f99c184c442c244edac532f613b0f5a60
parent62607bc64c5cbb8d9b330da4be34c6d5302348af
powerpc/mm: Don't hardcode the hash pte slot shift

Use the #define instead of open-coding the same

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-64k.h
arch/powerpc/include/asm/book3s/64/pgtable.h
arch/powerpc/include/asm/nohash/64/pgtable.h