drm: Do not include page offset in argument to virt_to_page()
authorBen Hutchings <[email protected]>
Sun, 27 Oct 2013 21:52:17 +0000 (21:52 +0000)
committerDave Airlie <[email protected]>
Wed, 6 Nov 2013 03:23:12 +0000 (13:23 +1000)
commitbc212b9cf808add5b1e7a6913b10b1802c270c3c
treef7840e95da4b5bee3ba96aad1c194b3eb9518ed4
parent1dda6805471d4120dba2fa0f2cc1053c2dab28de
drm: Do not include page offset in argument to virt_to_page()

By definition, the page offset will not affect the result.

Compile-tested only.

Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
drivers/gpu/drm/drm_vm.c