]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: s/addr & ~PAGE_MASK/offset_in_page(addr)/
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 May 2011 21:17:11 +0000 (22:17 +0100)
committerKeith Packard <keithp@keithp.com>
Sat, 4 Jun 2011 17:40:42 +0000 (10:40 -0700)
commitc8cbbb8ba9f9f6d2d63513a715700127598e7f86
treee1ce9d13d463642c3fa69a6b049b8283bbb42343
parent5cbba41d2857477bd9a008f2d82c0622db1a8dee
drm/i915: s/addr & ~PAGE_MASK/offset_in_page(addr)/

Convert our open coded offset_in_page() to the common macro.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_gem.c