]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Initialize btext subsystem later, after prom_init
authorPaul Mackerras <paulus@samba.org>
Mon, 17 Oct 2005 09:20:46 +0000 (19:20 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 17 Oct 2005 09:20:46 +0000 (19:20 +1000)
commit30cd4a4e9c25e154ba087848a839bd0c6d024092
tree8ba678b5e025b1d5e1f1b18e14662d2da720a0f7
parent7dffb72028bfd909ac51a1546d182de2df4d2426
powerpc: Initialize btext subsystem later, after prom_init

We were initializing the btext stuff from prom_init(), thus breaking
the rule that all communication between prom_init() and the rest of
the kernel has to be via the flattened device tree.  This removes
the btext initialization calls from prom_init() and initializes it
instead after the device tree is unflattened.  It would be nice to
do it earlier, but that needs some more infrastructure to find the
properties we need in the flattened device tree.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_32.S
arch/powerpc/kernel/prom_init.c
arch/powerpc/kernel/setup_32.c
arch/powerpc/mm/init_32.c