Files
linux/arch/powerpc/kernel
Michael Ellerman 25e138149c powerpc: Apply early paca fixups to boot_paca and the boot cpu's paca
In commit 466921c we added a hack to set the paca data_offset to zero so
that per-cpu accesses would work on the boot cpu prior to per-cpu areas
being setup. This fixed a problem with lockdep touching per-cpu areas
very early in boot.

However if we combine CONFIG_LOCK_STAT=y with any of the PPC_EARLY_DEBUG
options, we can hit the same problem in udbg_early_init(). To avoid that
we need to set the data_offset of the boot_paca also. So factor out the
fixup logic and call it for both the boot_paca, and "the paca of the
boot cpu".

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Tested-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-02-15 16:55:06 +11:00
..
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2011-11-28 21:13:18 +02:00
2013-01-29 11:33:37 +11:00
2011-03-31 11:26:23 -03:00
2012-09-30 23:31:19 -04:00
2012-09-30 23:31:19 -04:00
2011-03-31 11:26:23 -03:00
2013-01-10 17:00:28 +11:00
2012-11-15 15:02:44 +11:00
2013-01-16 05:25:46 +11:00
2012-10-01 09:58:18 -04:00
2012-06-01 12:58:51 -04:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2012-11-15 12:59:33 +11:00