drm: Make sure the DRM offset matches the CPU
authorJordan Crouse <jcrouse@codeaurora.org>
Thu, 27 May 2010 19:40:27 +0000 (13:40 -0600)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Jun 2010 00:07:57 +0000 (10:07 +1000)
commit05269a3a5a78bb074413de495105d7a2686c4529
tree85f0000bdb5708079309f8ff42ecc55896c3d445
parent4b7fb9b5746554d460e7bc986341d4b2db01e0b6
drm: Make sure the DRM offset matches the CPU

The pgoff option in mmap() is defined as an unsigned long
so the offset generated by DRM needs to fit into
BITS_PER_LONG for the CPU in question.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_gem.c
This page took 0.026836 seconds and 5 git commands to generate.