summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/entry_64.S
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2007-08-01 11:34:38 +1000
committerPaul Mackerras <paulus@samba.org>2007-08-03 19:36:00 +1000
commitb9c3fdb0f0fe02ba33e87ef947f23cd12e6196fe (patch)
tree9838d0b84de9cf851aa43e05e81dbbf95db0156f /arch/powerpc/kernel/entry_64.S
parent17aa3a82aa2173a22405f862c4444656f0494a3f (diff)
[POWERPC] Fix parse_drconf_memory() for 64-bit start addresses
Some new machines use the "ibm,dynamic-reconfiguration-memory" property to provide memory layout information, rather than via memory nodes. There is a bug in the code to parse this property for start addresses over 4GB; we store the start address in an unsigned int, which means we throw away the high bits and add apparently duplicate regions. This results in a BUG() in free_bootmem_core(). This fixes it by using an unsigned long instead. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/entry_64.S')
0 files changed, 0 insertions, 0 deletions