summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_vm.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-02-02 16:55:45 +1100
committerDave Airlie <airlied@linux.ie>2009-02-15 18:58:08 +1000
commita93da42dd17c51e325888a1fd1b0372b48305553 (patch)
tree8a2b22bab54ecf40024dd285cef326e2a16a0c5b /drivers/gpu/drm/drm_vm.c
parentd2f8d7ee1a9b4650b4e43325b321801264f7c37a (diff)
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 <benh@kernel.crashing.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/drm_vm.c')
0 files changed, 0 insertions, 0 deletions