From: Becky Bruce Date: Fri, 15 Feb 2008 18:17:14 +0000 (+1100) Subject: [POWERPC] Fix dt_mem_next_cell() to read the full address X-Git-Tag: v2.6.25-rc3~102^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abe768858a54e96f0b2c0585db397107ed1bd213;p=pandora-kernel.git [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 Acked-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed