From: Ilya Yanok Date: Mon, 1 Sep 2008 07:53:22 +0000 (+1000) Subject: powerpc/4xx: Necessary fixes to PCI for 4GB RAM size X-Git-Tag: v2.6.28-rc1~569^2~60^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc2e113b4bbd415d53d8bb87a446cde6b7ce8acc;p=pandora-kernel.git powerpc/4xx: Necessary fixes to PCI for 4GB RAM size The declaration of total_memory removed. Now including instead. Since total_memory is a phys_addr_t which is 64-bit on 44x and is_power_of_2() works with u32 so I just inlined (size & (size-1)) != 0 instead. Also this patch fixes default initialization: res->end should be 0x7fffffff not 0x80000000. Signed-off-by: Ilya Yanok Acked-by: Stefan Roese Signed-off-by: Josh Boyer --- Reading git-diff-tree failed