aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_64.S
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-10-21 10:30:52 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-14 21:00:14 -0500
commitab7f961a58b3d3390148d18cf95ae4ce6a411b21 (patch)
tree167934ed29d64d7e94083c886e42f5e7db06ccbc /arch/powerpc/kernel/head_64.S
parentbc26957c6cd913eaec9aac4ce17953efc1582c2e (diff)
powerpc/powernv: Fix OPAL debug entry
OPAL provides the firmware base/entry in registers at boot time for debugging purposes. We had a bug in the code trying to stash these into the appropriate kernel globals (a line of code was probably dropped by accident back when this was merged) Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/head_64.S')
-rw-r--r--arch/powerpc/kernel/head_64.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S
index 58bddee8e1e8..694e3fa78857 100644
--- a/arch/powerpc/kernel/head_64.S
+++ b/arch/powerpc/kernel/head_64.S
@@ -703,6 +703,7 @@ _INIT_STATIC(start_here_multiplatform)
703 703
704#ifdef CONFIG_PPC_EARLY_DEBUG_OPAL 704#ifdef CONFIG_PPC_EARLY_DEBUG_OPAL
705 /* Setup OPAL entry */ 705 /* Setup OPAL entry */
706 LOAD_REG_ADDR(r11, opal)
706 std r28,0(r11); 707 std r28,0(r11);
707 std r29,8(r11); 708 std r29,8(r11);
708#endif 709#endif