summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ttm/ttm_tt.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-04-12 17:07:25 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2017-04-12 17:07:25 +1000
commit72f5b542fee805a5c1ac3a874b59b4bc494b1fb6 (patch)
treed4a9ff3a111407ed6d145cccb44a7f02963e98fb /drivers/gpu/drm/ttm/ttm_tt.c
parentb3857aacfa35f5097984626733a2d09eb6c3bcb3 (diff)
parenta33297c95d6bce1713c6f0b3f8bdc8e8395d647f (diff)
Merge branch 'akpm/master'
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_tt.c')
-rw-r--r--drivers/gpu/drm/ttm/ttm_tt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c
index aee3c00f836e..5260179d788a 100644
--- a/drivers/gpu/drm/ttm/ttm_tt.c
+++ b/drivers/gpu/drm/ttm/ttm_tt.c
@@ -44,6 +44,9 @@
#include <drm/ttm/ttm_bo_driver.h>
#include <drm/ttm/ttm_placement.h>
#include <drm/ttm/ttm_page_alloc.h>
+#ifdef CONFIG_X86
+#include <asm/set_memory.h>
+#endif
/**
* Allocates storage for pointers to the pages that back the ttm.