git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/ttm: Fix build on architectures without AGP
[pandora-kernel.git]
/
drivers
/
gpu
/
drm
/
ttm
/
ttm_page_alloc.c
diff --git
a/drivers/gpu/drm/ttm/ttm_page_alloc.c
b/drivers/gpu/drm/ttm/ttm_page_alloc.c
index
b1d67dc
..
1f32b46
100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_page_alloc.c
+++ b/
drivers/gpu/drm/ttm/ttm_page_alloc.c
@@
-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"