From: Benjamin Herrenschmidt Date: Mon, 10 Dec 2007 06:32:15 +0000 (+1100) Subject: PCI: Fix bus resource assignment on 32 bits with 64b resources X-Git-Tag: v2.6.25-rc1~1074^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c40a22e0ce5eb400f27449e59e43d021bee58b8d;p=pandora-kernel.git PCI: Fix bus resource assignment on 32 bits with 64b resources The current pci_assign_unassigned_resources() code doesn't work properly on 32 bits platforms with 64 bits resources. The main reason is the use of unsigned long in various places instead of resource_size_t. This is a pre-requisite for making powerpc use the generic code instead of its own half-useful implementation. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed