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)
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>

No differences found