From: Ian Munsie Date: Tue, 6 Aug 2013 16:01:27 +0000 (+1000) Subject: powerpc: Make prom.c device tree accesses endian safe X-Git-Tag: v3.12-rc1~123^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc0e643afc505e7feeac5f86e8fe82183847ebe7;p=pandora-kernel.git 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 Acked-by: Grant Likely Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed