aboutsummaryrefslogtreecommitdiffstats
path: root/arch/h8300
diff options
context:
space:
mode:
authorIan Munsie <imunsie@au1.ibm.com>2013-08-06 12:01:27 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-14 01:33:19 -0400
commitdc0e643afc505e7feeac5f86e8fe82183847ebe7 (patch)
tree25c2953fdec1d2fe3294eddad0d66077849eb3f1 /arch/h8300
parentbc2e6c6ac21183a6102a926f83186d9cac6713f8 (diff)
powerpc: Make prom.c device tree accesses endian safe
On PowerPC the device tree is always big endian, but the CPU could be either, so add be32_to_cpu where appropriate and change the types of device tree data to __be32 etc to allow sparse to locate endian issues. Signed-off-by: Ian Munsie <imunsie@au1.ibm.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions