linux/arch/powerpc
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
..
boot [POWERPC] prpmc2800 needs a dtbImage 2008-04-15 21:21:25 +10:00
configs [POWERPC] 4xx: Add ppc40x_defconfig 2008-04-16 07:31:57 -05:00
kernel [POWERPC] Initialize paca->current earlier 2008-04-17 07:46:10 +10:00
lib [POWERPC] Add hand-coded assembly strcmp 2008-04-07 10:03:03 +10:00
math-emu [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
mm Merge branch 'linux-2.6' 2008-04-14 21:11:02 +10:00
oprofile Merge branch 'linux-2.6' 2008-04-14 21:11:02 +10:00
platforms [POWERPC] celleb: Coding style cleanup 2008-04-17 07:46:10 +10:00
sysdev Merge branch 'for-2.6.26' of master.kernel.org:/pub/scm/linux/kernel/git/olof/pasemi 2008-04-17 07:45:35 +10:00
xmon [POWERPC] iSeries: Make iseries_reg_save private to iSeries 2008-04-15 21:21:25 +10:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Fix MAX_ORDER config problem 2008-04-15 21:21:23 +10:00
Kconfig.debug [POWERPC] 4xx: Base support for 440GX Taishan eval board 2007-12-23 13:13:33 -06:00
Makefile [POWERPC] add target for building .dtb files 2008-04-02 20:29:11 -05:00