powerpc/mm: Change the swap encoding in pte.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 17 Jun 2015 02:43:41 +0000 (08:13 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Jun 2015 07:10:29 +0000 (17:10 +1000)
Current swap encoding in pte can't support large pfns
above 4TB. Change the swap encoding such that we put
the swap type in the PTE bits. Also add build checks
to make sure we don't overlap with HPTEFLAGS.

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/pgtable-ppc64.h
arch/powerpc/include/asm/pte-book3e.h
arch/powerpc/include/asm/pte-hash64.h

Simple merge
Simple merge