[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161970488335.4033873.16440956180112521180.b4-ty@ellerman.id.au>
Date: Fri, 30 Apr 2021 00:01:23 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Paul Mackerras <paulus@...ba.org>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
On Wed, 21 Apr 2021 17:24:03 +0000 (UTC), Christophe Leroy wrote:
> AS arch/powerpc/platforms/52xx/lite5200_sleep.o
> arch/powerpc/platforms/52xx/lite5200_sleep.S: Assembler messages:
> arch/powerpc/platforms/52xx/lite5200_sleep.S:184: Warning: invalid register expression
>
> In the following code, 'addi' is wrong, has to be 'add'
>
> /* local udelay in sram is needed */
> udelay: /* r11 - tb_ticks_per_usec, r12 - usecs, overwrites r13 */
> mullw r12, r12, r11
> mftb r13 /* start */
> addi r12, r13, r12 /* end */
Applied to powerpc/next.
[1/1] powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
https://git.kernel.org/powerpc/c/8a87a507714386efc39c3ae6fa24d4f79846b522
cheers
Powered by blists - more mailing lists