aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/head_32.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S
index a6de6dbc5ed8..0c326823c6d4 100644
--- a/arch/powerpc/kernel/head_32.S
+++ b/arch/powerpc/kernel/head_32.S
@@ -110,6 +110,12 @@ __start:
110#ifdef CONFIG_PPC_MULTIPLATFORM 110#ifdef CONFIG_PPC_MULTIPLATFORM
111 cmpwi 0,r5,0 111 cmpwi 0,r5,0
112 beq 1f 112 beq 1f
113
114 /* find out where we are now */
115 bcl 20,31,$+4
1160: mflr r8 /* r8 = runtime addr here */
117 addis r8,r8,(_stext - 0b)@ha
118 addi r8,r8,(_stext - 0b)@l /* current runtime base addr */
113 bl prom_init 119 bl prom_init
114 trap 120 trap
115#endif 121#endif