diff options
author | Laurent Dufour <ldufour@linux.vnet.ibm.com> | 2013-10-15 19:05:28 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-10-17 10:43:16 +0900 |
commit | 1cbddc80ddfe34cdcdac11c0562e4d8395c48b16 (patch) | |
tree | d684e2a0f5233fa862e60cfbff6298e663b39d6d /kexec/arch/arm | |
parent | 6d4e7f0c9679a7e6742b85ca09e2f29ec6c45ee5 (diff) |
kexec/fs2dt: fix endianess conversion
While reviewing fs2dt.c in the common kexec directory, in order to use it to
support little endian ppc64 architecture, I found some endianess
conversion's issues.
In dt_reserve, dt_base is a pointer and thus should not be converted.
In checkprop, values read from the device tree are big endian encoded and
should be converted if CPU is running in little endian mode.
In add_dyn_reconf_usable_mem_property__, fix extraneous endianess conversion
of rlen which should be natively used to increase the dt pointer.
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/arm')
0 files changed, 0 insertions, 0 deletions