drm/amdgpu: release_pages requires linux/pagemap.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 17 Mar 2016 04:30:49 +0000 (15:30 +1100)
committerDave Airlie <airlied@redhat.com>
Mon, 21 Mar 2016 03:22:52 +0000 (13:22 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Christian König <christian.koenig@amd.com.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c

index 4f5ef4149e8773a52f4dee030d975295336440a4..9392e50a7ba48243ad0d26e3385e57f3603bdd83 100644 (file)
@@ -25,6 +25,7 @@
  *    Jerome Glisse <glisse@freedesktop.org>
  */
 #include <linux/list_sort.h>
+#include <linux/pagemap.h>
 #include <drm/drmP.h>
 #include <drm/amdgpu_drm.h>
 #include "amdgpu.h"
index 3e128c52bb87dec2bb599f224ff99e10549c1a37..fa6a27bff298b7ad11649f5a790b131c478702e0 100644 (file)
@@ -26,6 +26,7 @@
  *          Jerome Glisse
  */
 #include <linux/ktime.h>
+#include <linux/pagemap.h>
 #include <drm/drmP.h>
 #include <drm/amdgpu_drm.h>
 #include "amdgpu.h"