powerpc: Free a PTE bit on ppc64 with 64K pages
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Jun 2008 05:37:10 +0000 (15:37 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Jun 2008 12:30:53 +0000 (22:30 +1000)
commit41743a4e34f0777f51c1cf0675b91508ba143050
tree9e63c8c8d70169e6c8be699167234db33b102a1f
parentff1f4ee94c3c4480b9cee95da2d19668262636c6
powerpc: Free a PTE bit on ppc64 with 64K pages

This frees a PTE bit when using 64K pages on ppc64.  This is done
by getting rid of the separate _PAGE_HASHPTE bit.  Instead, we just test
if any of the 16 sub-page bits is set.  For non-combo pages (ie. real
64K pages), we set SUB0 and the location encoding in that field.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_low_64.S
arch/powerpc/mm/hugetlbpage.c
include/asm-powerpc/pgtable-4k.h
include/asm-powerpc/pgtable-64k.h
include/asm-powerpc/pgtable-ppc64.h