[PATCH] powerpc: Update obsolete comment in setup_32.c about early_init()

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE3674d

2 messages, 2 authors, 2016-08-11 · open the first message on its own page

[PATCH] powerpc: Update obsolete comment in setup_32.c about early_init()

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2016-08-10 07:32:42

We don't identify the machine type anymore...

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index c3e861d..f10a975 100644
--- a/arch/powerpc/kernel/setup_32.c
+++ b/arch/powerpc/kernel/setup_32.c
@@ -93,10 +93,8 @@ notrace unsigned long __init early_init(unsigned long dt_ptr)
  * and we are running with enough of the MMU enabled to have our
  * proper kernel virtual addresses
  *
- * Find out what kind of machine we're on and save any data we need
- * from the early boot process (devtree is copied on pmac by prom_init()).
- * This is called very early on the boot process, after a minimal
- * MMU environment has been set up but before MMU_init is called.
+ * We do the initial parsing of the flat device-tree and prepares
+ * for the MMU to be fully initialized.
  */
 extern unsigned int memset_nocache_branch; /* Insn to be replaced by NOP */
 

Re: powerpc: Update obsolete comment in setup_32.c about early_init()

From: Michael Ellerman <hidden>
Date: 2016-08-11 11:16:48

On Wed, 2016-10-08 at 07:32:38 UTC, Benjamin Herrenschmidt wrote:
We don't identify the machine type anymore...

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/f9cc1d1f808dbdfd56978259d2

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