]> git.baikalelectronics.ru Git - kernel.git/commit
Fix ttm_page_alloc.c build breakage
authorLuck, Tony <tony.luck@intel.com>
Wed, 21 Jul 2010 17:15:39 +0000 (10:15 -0700)
committerDave Airlie <airlied@redhat.com>
Thu, 22 Jul 2010 00:02:32 +0000 (10:02 +1000)
commit541d0019fa75f7e8cb6a2f9324f6d800ec88c9b5
tree77f01dd34f89420e428cd2da0a10d8a974df219d
parented99e2af4cd09076cd4d297d141e655c9f8476d1
Fix ttm_page_alloc.c build breakage

The commit 0391b3f26c5ed6c3bd52e7e52f0e622d4e604858
    drm/ttm: Fix build on architectures without AGP

looks at TTM_HAS_AGP before it has been set in ttm_bo_driver.h

Move the conditional inclusion of <asm/agp.h> *after* we have included
ttm_bo_driver.h

Signed-of-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_page_alloc.c