powerpc: Make RTAS calls endian safe
authorAnton Blanchard <anton@samba.org>
Tue, 6 Aug 2013 16:01:31 +0000 (02:01 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 05:33:22 +0000 (15:33 +1000)
commit271282649132f0a84ac8e2f3655cf2b5c192036b
tree90e7c0b29b4cf8fff4bede66ddeb6db4a2d9c4b1
parent7946d5a513e510269d6e0126597f8667c886d0d7
powerpc: Make RTAS calls endian safe

RTAS expects arguments in the call buffer to be big endian so we
need to byteswap on little endian builds

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/rtas.h
arch/powerpc/kernel/rtas.c