summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/crash_dump.c
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2014-02-20 21:13:52 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-02-28 18:06:24 +1100
commit41dd03a94c7d408d2ef32530545097f7d1befe5c (patch)
treedf4556c147db73dce78a2560f38eb9a2826330a5 /arch/powerpc/kernel/crash_dump.c
parent66f9af83e56bfa12964d251df9d60fb571579913 (diff)
powerpc/le: Ensure that the 'stop-self' RTAS token is handled correctly
Currently we're storing a host endian RTAS token in rtas_stop_self_args.token. We then pass that directly to rtas. This is fine on big endian however on little endian the token is not what we expect. This will typically result in hitting: panic("Alas, I survived.\n"); To fix this we always use the stop-self token in host order and always convert it to be32 before passing this to rtas. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> Cc: stable@vger.kernel.org Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/crash_dump.c')
0 files changed, 0 insertions, 0 deletions