android_kernel_google_msm/arch/powerpc/xmon
Laurent Dufour f720cca470 powerpc/xmon: Fix another endiannes issue in RTAS call from xmon
commit e6eb2eba494d6f99e69ca3c3748cd37a2544ab38 upstream.

The commit 3b8a3c0109 ("powerpc/pseries: Fix endiannes issue in RTAS
call from xmon") was fixing an endianness issue in the call made from
xmon to RTAS.

However, as Michael Ellerman noticed, this fix was not complete, the
token value was not byte swapped. This lead to call an unexpected and
most of the time unexisting RTAS function, which is silently ignored by
RTAS.

This fix addresses this hole.

Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-04-14 17:33:55 +08:00
..
Makefile powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
ansidecl.h
dis-asm.h
nonstdio.c
nonstdio.h
ppc-dis.c
ppc-opc.c bug.h: add include of it to various implicit C users 2012-02-29 17:15:08 -05:00
ppc.h
spu-dis.c
spu-insns.h
spu-opc.c bug.h: add include of it to various implicit C users 2012-02-29 17:15:08 -05:00
spu.h
start.c
xmon.c powerpc/xmon: Fix another endiannes issue in RTAS call from xmon 2015-04-14 17:33:55 +08:00