From a7668ae7030304be706c5c8010ecd8b8d1f0725d Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Sat, 4 Mar 2006 13:15:40 +0100 Subject: [PATCH] --- yaml --- r: 21062 b: refs/heads/master c: eacb1962d4594b9d382b40acd73a9c9492718f74 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/boot/crt0.S | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 17a49cd4cfaf..ee0b114d5e45 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0a45d4491d0f172e02126370f312405c5d473363 +refs/heads/master: eacb1962d4594b9d382b40acd73a9c9492718f74 diff --git a/trunk/arch/powerpc/boot/crt0.S b/trunk/arch/powerpc/boot/crt0.S index e0192c26037b..70e65b13e033 100644 --- a/trunk/arch/powerpc/boot/crt0.S +++ b/trunk/arch/powerpc/boot/crt0.S @@ -45,7 +45,8 @@ _zimage_start: bdnz 2b /* Do a cache flush for our text, in case OF didn't */ -3: lis r9,_start@h +3: lis r9,_start@ha + addi r9,r9,_start@l add r9,r0,r9 lis r8,_etext@ha addi r8,r8,_etext@l @@ -53,7 +54,7 @@ _zimage_start: 4: dcbf r0,r9 icbi r0,r9 addi r9,r9,0x20 - cmplwi 0,r9,8 + cmplw cr0,r9,r8 blt 4b sync isync