summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_bufs.c
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2010-05-27 13:40:27 -0600
committerDave Airlie <airlied@redhat.com>2010-06-01 10:07:57 +1000
commit05269a3a5a78bb074413de495105d7a2686c4529 (patch)
tree85f0000bdb5708079309f8ff42ecc55896c3d445 /drivers/gpu/drm/drm_bufs.c
parent4b7fb9b5746554d460e7bc986341d4b2db01e0b6 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/drm_bufs.c')
0 files changed, 0 insertions, 0 deletions