aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/head_64.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S
index da0924293496..f2fab687a01c 100644
--- a/arch/powerpc/kernel/head_64.S
+++ b/arch/powerpc/kernel/head_64.S
@@ -1664,6 +1664,9 @@ _STATIC(__after_prom_start)
1664 /* i.e. where we are running */ 1664 /* i.e. where we are running */
1665 /* the source addr */ 1665 /* the source addr */
1666 1666
1667 cmpdi r4,0 /* In some cases the loader may */
1668 beq .start_here_multiplatform /* have already put us at zero */
1669 /* so we can skip the copy. */
1667 LOAD_REG_IMMEDIATE(r5,copy_to_here) /* # bytes of memory to copy */ 1670 LOAD_REG_IMMEDIATE(r5,copy_to_here) /* # bytes of memory to copy */
1668 sub r5,r5,r27 1671 sub r5,r5,r27
1669 1672