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 4f5ef41..9392e50 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 3e128c5..fa6a27b 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"