]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52b6516ced4251a249ace953b1410409874cf269
tree9e63c8c8d70169e6c8be699167234db33b102a1f
parent643da166e169cbc5fcc70a796038949647b9ae27
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