]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/i915: Remove __GFP_NO_KSWAPD
authorSedat Dilek <sedat.dilek@gmail.com>
Mon, 27 Aug 2012 12:02:37 +0000 (14:02 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 27 Aug 2012 15:11:38 +0000 (17:11 +0200)
commitd7c3b937bdf45f0b844400b7bf6fd3ed50bac604
treee4449d23d5112c852a3069722221e4cac8f80485
parentcd7988eea561a70a4f98e431c1395f913672d626
drm/i915: Remove __GFP_NO_KSWAPD

When I pulled-in today's drm-intel-next into linux-next (next-20120824)
I saw this build-breakage:

drivers/gpu/drm/i915/i915_gem.c: In function 'i915_gem_object_get_pages_gtt':
drivers/gpu/drm/i915/i915_gem.c:1778:40: error: '__GFP_NO_KSWAPD' undeclared (first use in this function)
drivers/gpu/drm/i915/i915_gem.c:1778:40: note: each undeclared identifier is reported only once for each function it appears in

This is caused by commit ba099ef165f8 ("mm: remove __GFP_NO_KSWAPD")
and commit b6beae2c2014 ("mm: remove __GFP_NO_KSWAPD fixes") in
linux-next (next-20120824).

Fix this by removing __GFP_NO_KSWAPD from drm/i915 driver.

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c