powerpc/book3e: Adjust the page sizes list based on MMU config
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 9 Jul 2010 04:57:43 +0000 (14:57 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Jul 2010 04:13:53 +0000 (14:13 +1000)
commitf2b26c923518e03959142715a2b7615cb161cd16
treeffccea3aa71c68a143ef151dfa5673cb0aa3a9b4
parent03247157f73912c98baa918cf46b98ee5483d7f8
powerpc/book3e: Adjust the page sizes list based on MMU config

Use the MMU config registers to scan for available direct and
indirect page sizes and print out the result. Will be needed
for future hugetlbfs implementation.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/mmu-book3e.h
arch/powerpc/include/asm/reg_booke.h
arch/powerpc/mm/tlb_nohash.c