powerpc/mm: Call mmu_context_init() from ppc64
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 23 Jul 2009 23:15:26 +0000 (23:15 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:12:42 +0000 (10:12 +1000)
commit6f0ef0f505af1ce6e9756087a9d4cc3778bae8c6
treedf60577c18cd61fd11debf249d60d49897e2a111
parentd4e167da4cb60910f6ac305aee03714937f70b71
powerpc/mm: Call mmu_context_init() from ppc64

Our 64-bit hash context handling has no init function, but 64-bit Book3E
will use the common mmu_context_nohash.c code which does, so define an
empty inline mmu_context_init() for 64-bit server and call it from
our 64-bit setup_arch()

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/mmu_context.h
arch/powerpc/kernel/setup_64.c