Thread (7 messages) flat view 7 messages, 2 authors, 2014-08-06

Re: [PATCH 2/2] powerpc/nohash: Split __early_init_mmu() into boot and secondary

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2014-08-05 04:37:03

On Fri, 2014-08-01 at 22:07 -0500, Scott Wood wrote:
 
-void __init early_init_mmu(void)
-{
-	__early_init_mmu(1);
-}
-
 void early_init_mmu_secondary(void)
 {
-	__early_init_mmu(0);
+	early_init_mmu_allcpus();
 }
Small nit, it took me 30s too long to figure out what you were doing due
to the naming above :)

Call the latter early_init_this_mmu() and keep the global one separate
such that early_init_mmu() does:

	early_init_mmu_common();
	early_init_this_mmu();

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help