From: Michael Ellerman Date: Wed, 1 Aug 2007 01:34:38 +0000 (+1000) Subject: [POWERPC] Fix parse_drconf_memory() for 64-bit start addresses X-Git-Tag: v2.6.23-rc2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9c3fdb0f0fe02ba33e87ef947f23cd12e6196fe;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed