diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-02 06:55:45 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-13 05:23:56 +0100 |
commit | d883f7f1b75c8dcafa891f7b9e69c5a2f0ff6d66 (patch) | |
tree | 765a9bf6d3322ecfa42819622981baea2480ba41 /drivers/gpu/drm/drm_context.c | |
parent | Linus 2.6.29-rc8 (diff) | |
download | linux-d883f7f1b75c8dcafa891f7b9e69c5a2f0ff6d66.tar.xz linux-d883f7f1b75c8dcafa891f7b9e69c5a2f0ff6d66.zip |
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_context.c')
0 files changed, 0 insertions, 0 deletions