From: Benjamin Herrenschmidt Date: Mon, 2 Feb 2009 05:55:45 +0000 (+1100) Subject: drm: Use resource_size_t for drm_get_resource_{start, len} X-Git-Tag: v2.6.30-rc1~613^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d883f7f1b75c8dcafa891f7b9e69c5a2f0ff6d66;p=pandora-kernel.git drm: Use resource_size_t for drm_get_resource_{start, len} The DRM uses its own wrappers to obtain resources from PCI devices, which currently convert the resource_size_t into an unsigned long. This is broken on 32-bit platforms with >32-bit physical address space. This fixes them, along with a few occurences of unsigned long used to store such a resource in drivers. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed