From: John L. Burr Date: Wed, 12 Jan 2011 04:39:46 +0000 (-0800) Subject: IB/mthca: Fix driver when sizeof (phys_addr_t) > sizeof (long) X-Git-Tag: v2.6.38-rc1~13^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb4a7cbf27082bea34764bab3bc85595683f967b;p=pandora-kernel.git IB/mthca: Fix driver when sizeof (phys_addr_t) > sizeof (long) Some systems have PCI addresses that don't fit in unsigned long (eg some 32-bit PowerPC 440 systems have 36-bit bus addresses). Fix up the driver by using phys_addr_t where appropriate, so we don't truncate any PCI resource addresses before ioremapping them. Signed-off-by: John L. Burr [ Update to apply to current driver source. - Roland ] Signed-off-by: Roland Dreier --- Reading git-diff-tree failed