diff options
author | Tyrel Datwyler <tyreld@linux.vnet.ibm.com> | 2015-03-04 22:59:33 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-20 06:53:01 +0300 |
commit | f6ff04149637723261aa4738958b0098b929ee9e (patch) | |
tree | 12c6531884d344438e9e5676ce9102f6912f7915 /arch/powerpc/oprofile/Makefile | |
parent | ddee09c099c35074e50aaf9157efd22429d3acdf (diff) | |
download | linux-f6ff04149637723261aa4738958b0098b929ee9e.tar.xz |
powerpc/pseries: Little endian fixes for post mobility device tree update
We currently use the device tree update code in the kernel after resuming
from a suspend operation to re-sync the kernels view of the device tree with
that of the hypervisor. The code as it stands is not endian safe as it relies
on parsing buffers returned by RTAS calls that thusly contains data in big
endian format.
This patch annotates variables and structure members with __be types as well
as performing necessary byte swaps to cpu endian for data that needs to be
parsed.
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Cc: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Cc: Cyril Bur <cyrilbur@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/oprofile/Makefile')
0 files changed, 0 insertions, 0 deletions