]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Update obsolete comments in setup_32.c about entry conditions
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Jul 2016 05:03:45 +0000 (15:03 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Jul 2016 10:09:39 +0000 (20:09 +1000)
commit27fbf415edf1cab3edae38a97263a04f2c4b3089
tree756b575a753fc45bef7727133dd5cdd188d80722
parentc2b5958636f55c2f5908a6c6955d44345deb8ed4
powerpc: Update obsolete comments in setup_32.c about entry conditions

early_init() is called in-place before kernel relocation and using
whatever MMU setup exists at the point the kernel is entered.

machine_init() is called after relocation and after some initial
mapping of PAGE_OFFSET has been established (typically using BATs
on 6xx/7xx/7xxx processors or some form of bolted TLB on others).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/setup_32.c