diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2014-02-20 21:13:52 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-06 21:30:08 -0800 |
commit | 64747d3d2fd4fcf93678ccc785327371e35a752e (patch) | |
tree | 045d3a68c3ea32c465178e5165b4661240988d4d /arch/m32r | |
parent | 830d5bd83a895818388f874675d3bd76dc470e01 (diff) |
powerpc/le: Ensure that the 'stop-self' RTAS token is handled correctly
commit 41dd03a94c7d408d2ef32530545097f7d1befe5c upstream.
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>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions