From 1ade354fdfa55f8055b000b2d4decef1038eb903 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 12 Sep 2003 00:28:51 -0700 Subject: [PATCH] PPC32: Fix the udelay implementation in the bootwrapper. It's lis rX,var@ha \n lwz rX,var@l(rX), not lis rX,var@h \n ... From Hollis Blanchard . --- arch/ppc/boot/common/util.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ppc/boot/common/util.S b/arch/ppc/boot/common/util.S index 13668b757be14..a9077974985a4 100644 --- a/arch/ppc/boot/common/util.S +++ b/arch/ppc/boot/common/util.S @@ -196,7 +196,7 @@ udelay: /* Change r4 to be the number of ticks using: * (nanoseconds + (timebase_period_ns - 1 )) / timebase_period_ns * timebase_period_ns defaults to 60 (16.6MHz) */ - lis r5,timebase_period_ns@h + lis r5,timebase_period_ns@ha lwz r5,timebase_period_ns@l(r5) addi r4,r4,r5 addi r4,r4,-1 -- 2.53.0