All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PPC64 mmu_context_init needs to run earlier
@ 2004-11-02  5:11 Paul Mackerras
  2004-11-02  6:13 ` Andrew Morton
  2004-11-03 23:04 ` Andrew Morton
  0 siblings, 2 replies; 8+ messages in thread
From: Paul Mackerras @ 2004-11-02  5:11 UTC (permalink / raw)
  To: akpm, torvalds; +Cc: nathanl, anton, linux-kernel

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-11-04  4:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-02  5:11 [PATCH] PPC64 mmu_context_init needs to run earlier Paul Mackerras
2004-11-02  6:13 ` Andrew Morton
2004-11-02 21:57   ` Nathan Lynch
2004-11-02 22:10     ` Linus Torvalds
2004-11-02 23:35       ` Benjamin Herrenschmidt
2004-11-03  0:08       ` Nathan Lynch
2004-11-03 23:04 ` Andrew Morton
2004-11-04  2:53   ` Paul Mackerras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.