powerpc/8xx: Fixing memory init issue with CONFIG_PIN_TLB
authorLEROY Christophe <christophe.leroy@c-s.fr>
Fri, 11 Oct 2013 12:56:40 +0000 (14:56 +0200)
committerScott Wood <scottwood@freescale.com>
Tue, 29 Oct 2013 02:11:22 +0000 (21:11 -0500)
commit5f2da0f1e8fb074482118f04d0db0614951c3bb8
treed695d9d77c607e17f6ddf784fd869f848bad8df4
parent4e591f3c0a618b8230a37bfff64b59e76374f2e5
powerpc/8xx: Fixing memory init issue with CONFIG_PIN_TLB

Activating CONFIG_PIN_TLB allows access to the 24 first Mbytes of
memory at bootup instead of 8.  It is needed for "big" kernels for
instance when activating CONFIG_LOCKDEP_SUPPORT.  This needs to be
taken into account in init_32 too, otherwise memory allocation soon
fails after startup.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/mm/init_32.c