of/flattree: endian-convert members of boot_param_header
authorJeremy Kerr <jeremy.kerr@canonical.com>
Sat, 30 Jan 2010 11:14:19 +0000 (04:14 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 9 Feb 2010 15:34:10 +0000 (08:34 -0700)
commit087f79c48c090a2c0cd9ee45231d63290d2036d2
treec5d96d02ed64447ce36a68fe781a73a42a8ad19d
parent337148812f97368a8ec4a69f1691e4c5ce3af494
of/flattree: endian-convert members of boot_param_header

The boot_param_header has big-endian fields, so change the types to
__be32, and perform endian conversion when we access them.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/kernel/prom.c
drivers/of/fdt.c
include/linux/of_fdt.h