summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>2014-07-25 12:47:42 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-28 11:30:54 +1000
commit396a34340cdf7373c00e3977db27d1a20ea65ebc (patch)
tree1b1a3b1725a20a4cf3458a15561e8273b80f5f95 /arch/powerpc/include
parentfa952c54ba13deeb91cd4c7af255cdb5f1273535 (diff)
downloadop-kernel-dev-396a34340cdf7373c00e3977db27d1a20ea65ebc.zip
op-kernel-dev-396a34340cdf7373c00e3977db27d1a20ea65ebc.tar.gz
powerpc: Fix endianness of flash_block_list in rtas_flash
The function rtas_flash_firmware passes the address of a data structure, flash_block_list, when making the update-flash-64-and-reboot rtas call. While the endianness of the address is handled correctly, the endianness of the data is not. This patch ensures that the data in flash_block_list is big endian when passed to rtas on little endian hosts. Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud