diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-07-23 19:15:26 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-19 20:12:42 -0400 |
commit | 6f0ef0f505af1ce6e9756087a9d4cc3778bae8c6 (patch) | |
tree | df60577c18cd61fd11debf249d60d49897e2a111 /arch/powerpc/kernel/setup_64.c | |
parent | d4e167da4cb60910f6ac305aee03714937f70b71 (diff) |
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>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 91b89b8d63d8..325dc5b2e626 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -534,6 +534,10 @@ void __init setup_arch(char **cmdline_p) | |||
534 | #endif | 534 | #endif |
535 | 535 | ||
536 | paging_init(); | 536 | paging_init(); |
537 | |||
538 | /* Initialize the MMU context management stuff */ | ||
539 | mmu_context_init(); | ||
540 | |||
537 | ppc64_boot_msg(0x15, "Setup Done"); | 541 | ppc64_boot_msg(0x15, "Setup Done"); |
538 | } | 542 | } |
539 | 543 | ||