drm/ttm: Include pagemap.h from ttm_tt.h
It's needed for pgprot_t which is used in the header. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Cc: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210812203443.1725307-2-jason@jlekstrand.net Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
committed by
Christian König
parent
bd4dadaf04
commit
80cbd8808f
@@ -32,7 +32,6 @@
|
|||||||
#define pr_fmt(fmt) "[TTM] " fmt
|
#define pr_fmt(fmt) "[TTM] " fmt
|
||||||
|
|
||||||
#include <linux/sched.h>
|
#include <linux/sched.h>
|
||||||
#include <linux/pagemap.h>
|
|
||||||
#include <linux/shmem_fs.h>
|
#include <linux/shmem_fs.h>
|
||||||
#include <linux/file.h>
|
#include <linux/file.h>
|
||||||
#include <drm/drm_cache.h>
|
#include <drm/drm_cache.h>
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
#ifndef _TTM_TT_H_
|
#ifndef _TTM_TT_H_
|
||||||
#define _TTM_TT_H_
|
#define _TTM_TT_H_
|
||||||
|
|
||||||
|
#include <linux/pagemap.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <drm/ttm/ttm_caching.h>
|
#include <drm/ttm/ttm_caching.h>
|
||||||
#include <drm/ttm/ttm_kmap_iter.h>
|
#include <drm/ttm/ttm_kmap_iter.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user