Ian Munsie dc0e643afc 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>
2013-08-14 15:33:19 +10:00
..
2013-04-23 16:05:05 +10:00
2013-04-23 16:05:05 +10:00
2013-08-14 11:50:20 +10:00
2007-05-11 05:38:25 -04:00
2012-03-28 18:30:02 +01:00
2013-08-14 11:50:19 +10:00
2011-11-28 21:13:18 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2013-04-18 13:03:53 +10:00
2013-08-14 14:57:18 +10:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2007-10-11 14:36:47 +10:00
2013-08-14 14:57:18 +10:00