]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/gpu/drm/ttm/ttm_page_alloc.c
drm/ttm: Fix build on architectures without AGP
[net-next-2.6.git] / drivers / gpu / drm / ttm / ttm_page_alloc.c
index b1d67dc973dce9b2f86581f3de139bf2ad34f80b..1f32b460adceff38c58a06073eb18f7d14fc26ec 100644 (file)
@@ -40,7 +40,9 @@
 #include <linux/slab.h>
 
 #include <asm/atomic.h>
+#ifdef TTM_HAS_AGP
 #include <asm/agp.h>
+#endif
 
 #include "ttm/ttm_bo_driver.h"
 #include "ttm/ttm_page_alloc.h"