]> git.baikalelectronics.ru Git - 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)
commit0eea99b62db5506bed9d367eeab22e93ab58437e
treee1ce9d13d463642c3fa69a6b049b8283bbb42343
parent535061b6659efce1dbc6da28f492197106d4ef82
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