powerpc/mm: Add support for early ioremap on non-hash 64-bit processors
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 23 Jul 2009 23:15:16 +0000 (23:15 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:12:40 +0000 (10:12 +1000)
commita245067e204f69c69abf92d94fc45ec65bf1f07e
tree8a9ee8920c8b42d5d13cd2f7a05f578d99dd438e
parent1fe1a21005c14ad772caeb9005580f473c4b6c57
powerpc/mm: Add support for early ioremap on non-hash 64-bit processors

This adds some code to do early ioremap's using page tables instead of
bolting entries in the hash table. This will be used by the upcoming
64-bits BookE port.

The patch also changes the test for early vs. late ioremap to use
slab_is_available() instead of our old hackish mem_init_done.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/pgtable_64.c