diff options
| author | Laura Abbott <labbott@redhat.com> | 2017-05-08 18:58:17 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-08 20:15:14 -0400 |
| commit | ed3ba07946631f5c3a091fb37b018f7570f242b1 (patch) | |
| tree | 7f2a531a6007054be42292dd2bf8168ac07db82b /drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | |
| parent | e47036b45a3f02d35648d4683b9e26f26a60e231 (diff) | |
drm: use set_memory.h header
set_memory_* functions have moved to set_memory.h. Switch to this
explicitly.
[akpm@linux-foundation.org: track drivers/gpu/drm/i915/i915_gem_gtt.c linux-next changes]
Link: http://lkml.kernel.org/r/1488920133-27229-8-git-send-email-labbott@redhat.com
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_page_alloc_dma.c')
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c index cec4b4baa179..90ddbdca93bd 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | |||
| @@ -53,6 +53,9 @@ | |||
| 53 | #if IS_ENABLED(CONFIG_AGP) | 53 | #if IS_ENABLED(CONFIG_AGP) |
| 54 | #include <asm/agp.h> | 54 | #include <asm/agp.h> |
| 55 | #endif | 55 | #endif |
| 56 | #ifdef CONFIG_X86 | ||
| 57 | #include <asm/set_memory.h> | ||
| 58 | #endif | ||
| 56 | 59 | ||
| 57 | #define NUM_PAGES_TO_ALLOC (PAGE_SIZE/sizeof(struct page *)) | 60 | #define NUM_PAGES_TO_ALLOC (PAGE_SIZE/sizeof(struct page *)) |
| 58 | #define SMALL_ALLOCATION 4 | 61 | #define SMALL_ALLOCATION 4 |
