Benjamin Herrenschmidt 7c6352a469 [POWERPC] Initialize paca->current earlier
Currently, we initialize the "current" pointer in the PACA (which
is used by the "current" macro in the kernel) before calling
setup_system(). That means that early_setup() is called with
current still "NULL" which is -not- a good idea. It happens to
work so far but breaks with lockdep when early code calls printk.

This changes it so that all PACAs are statically initialized with
__current pointing to the init task. For non-0 CPUs, this is fixed
up before use.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-17 07:46:10 +10:00
..
2008-04-02 15:28:19 -07:00
2008-02-23 17:12:16 -08:00
2008-02-09 10:46:40 +01:00
2008-04-04 14:42:30 -07:00
2008-03-31 16:17:11 +09:00
2008-04-14 21:11:02 +10:00
2008-02-09 10:46:40 +01:00