Messages in this thread Patch in this message | | | Date | Tue, 2 Nov 2004 16:11:52 +1100 | From | Paul Mackerras <> | Subject | [PATCH] PPC64 mmu_context_init needs to run earlier |
| |
This patch is from Nathan Lynch <nathanl@austin.ibm.com>.
This patch changes mmu_context_init to be called as a core_initcall rather than an arch_initcall, since mmu_context_init needs to run before we try to run any userspace processes, and arch_initcall was found to be too late.
Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
diff -puN arch/ppc64/mm/init.c~ppc64-make-mmu_context_init-core_initcall arch/ppc64/mm/init.c --- linux-2.6.10-rc1-bk11/arch/ppc64/mm/init.c~ppc64-make-mmu_context_init-core_initcall 2004-11-01 19:51:46.000000000 -0600 +++ linux-2.6.10-rc1-bk11-nathanl/arch/ppc64/mm/init.c 2004-11-01 19:53:24.000000000 -0600 @@ -529,7 +529,7 @@ static int __init mmu_context_init(void) return 0; } -arch_initcall(mmu_context_init); +core_initcall(mmu_context_init); /* * Do very early mm setup. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |