linux/arch/powerpc/platforms/52xx
Christophe Leroy 8a87a50771 powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
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 */

Fixes: ee983079ce ("[POWERPC] MPC5200 low power mode")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/cb4cec9131c8577803367f1699209a7e104cec2a.1619025821.git.christophe.leroy@csgroup.eu
2021-04-23 01:38:03 +10:00
..
Kconfig Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
Makefile powerpc/Makefiles: Convert ifeq to ifdef where possible 2018-08-08 00:32:36 +10:00
efika.c powerpc/52xx/efika: Move PHB discovery 2021-02-09 00:02:05 +11:00
lite5200.c powerpc/52xx/lite5200: Move PHB discovery 2021-02-09 00:02:05 +11:00
lite5200_pm.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lite5200_sleep.S powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add') 2021-04-23 01:38:03 +10:00
media5200.c powerpc/52xx/media5200: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc52xx_common.c powerpc: Make ppc_md.{halt, restart} __noreturn 2016-07-14 21:12:06 +10:00
mpc52xx_gpt.c compat_ioctl: move WDIOC handling into wdt drivers 2019-10-23 17:23:46 +02:00
mpc52xx_lpbfifo.c powerpc/time: Avoid using get_tbl() 2021-02-11 23:35:13 +11:00
mpc52xx_pci.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
mpc52xx_pic.c treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
mpc52xx_pm.c powerpc/mpc5200: Remove VLA usage 2018-07-03 12:00:54 +10:00
mpc52xx_sleep.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpc5200_simple.c powerpc/52xx/mpc5200_simple: Move PHB discovery 2021-02-09 00:02:06 +11:00