powerpc: Fix boot problem due to AT_BASE_PLATFORM change
authorNathan Lynch <ntl@pobox.com>
Fri, 25 Jul 2008 22:50:30 +0000 (17:50 -0500)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Jul 2008 23:02:43 +0000 (09:02 +1000)
commitfc532f810832beb3306b42526a78f411972281c7
treeef4df27e7e633660498a29583986309aebd494f5
parent5047887caf1806f31652210df27fb62a7c43f27d
powerpc: Fix boot problem due to AT_BASE_PLATFORM change

Commit 9115d13453dee22473a1e8cacc90a8d64a9c4bc9 ("powerpc: Enable
AT_BASE_PLATFORM aux vector") broke boot on 32-bit powerpc systems; we
have to use PTRRELOC to initialize powerpc_base_platform this early in
boot.

Bug reported by Jon Smirl.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/cputable.c