diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2013-02-12 14:44:50 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-02-15 16:55:06 +1100 |
commit | 25e138149c19fa0680147b825be475f5fd57f155 (patch) | |
tree | 4061bd5e4d9cf8c0aea5cb026d59423747b7896d /arch/powerpc/Makefile | |
parent | 6a7e406419d8b176efbc5be41a82299025ad1b43 (diff) | |
download | linux-25e138149c19fa0680147b825be475f5fd57f155.tar.bz2 |
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>
Diffstat (limited to 'arch/powerpc/Makefile')
0 files changed, 0 insertions, 0 deletions