diff options
author | Becky Bruce <bgill@freescale.com> | 2008-02-16 05:17:14 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-20 13:33:37 +1100 |
commit | abe768858a54e96f0b2c0585db397107ed1bd213 (patch) | |
tree | dd3fb2855fb546572f4b4a85da6dc34cccfd43a7 /ipc | |
parent | 66200ea2228da6aaf317d21e67b1157aae7168e7 (diff) |
[POWERPC] Fix dt_mem_next_cell() to read the full address
dt_mem_next_cell() currently does of_read_ulong(). This does not
allow for the case where #size-cells and/or #address-cells = 2 on a
32-bit system, as it will end up reading 32 bits instead of the
expected 64. Change it to use of_read_number instead and always
return a u64.
Signed-off-by: Becky Bruce <becky.bruce at freescale.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions