linux/arch/powerpc/xmon
Michael Ellerman b42d9023a3 powerpc/xmon: Don't use ld on 32-bit
In commit 31cdd0c39c ("powerpc/xmon: Fix SPR read/write commands and
add command to dump SPRs") I added two uses of the "ld" instruction in
spr_access.S. "ld" is a 64-bit instruction, so shouldn't be used on
32-bit CPUs.

Replace it with PPC_LL which is a macro that gives us either "ld" or
"lwz" depending on whether we're 64 or 32-bit.

Fixes: 31cdd0c39c ("powerpc/xmon: Fix SPR read/write commands and add command to dump SPRs")
Cc: stable@vger.kernel.org # v4.7+
Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-09-13 17:37:02 +10:00
..
ansidecl.h
dis-asm.h
Makefile
nonstdio.c
nonstdio.h
ppc-dis.c powerpc: Move cpu_has_feature() to a separate file 2016-08-01 11:15:03 +10:00
ppc-opc.c
ppc.h
spr_access.S powerpc/xmon: Don't use ld on 32-bit 2016-09-13 17:37:02 +10:00
spu-dis.c
spu-insns.h
spu-opc.c
spu.h
xmon.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux into next 2016-07-30 13:43:19 +10:00