drm: Use resource_size_t for drm_get_resource_{start, len}
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 Feb 2009 05:55:45 +0000 (16:55 +1100)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Mar 2009 04:23:56 +0000 (14:23 +1000)
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 <benh@kernel.crashing.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>

No differences found