diff options
author | Ian Munsie <[email protected]> | 2013-08-07 02:01:27 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2013-08-14 15:33:19 +1000 |
commit | dc0e643afc505e7feeac5f86e8fe82183847ebe7 (patch) | |
tree | 25c2953fdec1d2fe3294eddad0d66077849eb3f1 /net/lapb/lapb_iface.c | |
parent | bc2e6c6ac21183a6102a926f83186d9cac6713f8 (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 <[email protected]>
Acked-by: Grant Likely <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions