aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_32.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-08-10 17:32:38 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-08-10 19:38:02 +1000
commitf9cc1d1f808dbdfd56978259d262b879504efaed (patch)
treeee6863f7ae14c37f98cfcb2ce440d88259885545 /arch/powerpc/kernel/setup_32.c
parentpowerpc: Print the kernel load address at the end of prom_init() (diff)
downloadlinux-dev-f9cc1d1f808dbdfd56978259d262b879504efaed.tar.xz
linux-dev-f9cc1d1f808dbdfd56978259d262b879504efaed.zip
powerpc: Update obsolete comment in setup_32.c about early_init()
We don't identify the machine type anymore... Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r--arch/powerpc/kernel/setup_32.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index c3e861df4b20..f10a975baa5e 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 */