aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_64.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/head_64.S')
-rw-r--r--arch/powerpc/kernel/head_64.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S
index 58bddee8e1e8..116f0868695b 100644
--- a/arch/powerpc/kernel/head_64.S
+++ b/arch/powerpc/kernel/head_64.S
@@ -422,7 +422,7 @@ _STATIC(__after_prom_start)
422 tovirt(r6,r6) /* on booke, we already run at PAGE_OFFSET */ 422 tovirt(r6,r6) /* on booke, we already run at PAGE_OFFSET */
423#endif 423#endif
424 424
425#ifdef CONFIG_CRASH_DUMP 425#ifdef CONFIG_RELOCATABLE
426/* 426/*
427 * Check if the kernel has to be running as relocatable kernel based on the 427 * Check if the kernel has to be running as relocatable kernel based on the
428 * variable __run_at_load, if it is set the kernel is treated as relocatable 428 * variable __run_at_load, if it is set the kernel is treated as relocatable
@@ -432,7 +432,8 @@ _STATIC(__after_prom_start)
432 cmplwi cr0,r7,1 432 cmplwi cr0,r7,1
433 bne 3f 433 bne 3f
434 434
435 li r5,__end_interrupts - _stext /* just copy interrupts */ 435 /* just copy interrupts */
436 LOAD_REG_IMMEDIATE(r5, __end_interrupts - _stext)
436 b 5f 437 b 5f
4373: 4383:
438#endif 439#endif
@@ -703,6 +704,7 @@ _INIT_STATIC(start_here_multiplatform)
703 704
704#ifdef CONFIG_PPC_EARLY_DEBUG_OPAL 705#ifdef CONFIG_PPC_EARLY_DEBUG_OPAL
705 /* Setup OPAL entry */ 706 /* Setup OPAL entry */
707 LOAD_REG_ADDR(r11, opal)
706 std r28,0(r11); 708 std r28,0(r11);
707 std r29,8(r11); 709 std r29,8(r11);
708#endif 710#endif