drivers/staging/media/atomisp/pci/atomisp2: use set_memory.h
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 8 May 2017 22:58:44 +0000 (15:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 May 2017 00:15:14 +0000 (17:15 -0700)
Cc: Laura Abbott <labbott@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c
drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_dynamic_pool.c
drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_reserved_pool.c
drivers/staging/media/atomisp/pci/atomisp2/mmu/isp_mmu.c

index 40ac3582fb7aba8ee9b58c8b8805626af20a1f4c..11162f595fc745846a11dd56d275e6b631ab249a 100644 (file)
 #include <linux/string.h>
 #include <linux/list.h>
 #include <linux/errno.h>
-#include <asm/cacheflush.h>
 #include <linux/io.h>
 #include <asm/current.h>
 #include <linux/sched/signal.h>
 #include <linux/file.h>
 
+#include <asm/set_memory.h>
+
 #include "atomisp_internal.h"
 #include "hmm/hmm_common.h"
 #include "hmm/hmm_pool.h"
index 639b8cdf7a5e79f2bd7bb223d01d07193306cbab..19e0e9ee37de2bbde025f21a71baea1fe75a4b54 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/types.h>
 #include <linux/mm.h>
 
-#include "asm/cacheflush.h"
+#include <asm/set_memory.h>
 
 #include "atomisp_internal.h"
 
index 4000c05652e1f7d24e947bc6dee82aafe96d837f..bf6586805f7fa4f75f289384f2e85ed5eabdd4fc 100644 (file)
@@ -27,7 +27,8 @@
 #include <linux/types.h>
 #include <linux/mm.h>
 
-#include "asm/cacheflush.h"
+#include <asm/set_memory.h>
+
 #include "atomisp_internal.h"
 #include "hmm/hmm_pool.h"
 
index 2009e3a11b860728326087fda36d400ff005e8dd..706bd43e8b1b7b863f88a7f2850bc03bbc8bca21 100644 (file)
 #include <linux/slab.h>                /* for kmalloc */
 #include <linux/list.h>
 #include <linux/io.h>
-#include <asm/cacheflush.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/string.h>
 #include <linux/errno.h>
 #include <linux/sizes.h>
 
+#ifdef CONFIG_X86
+#include <asm/set_memory.h>
+#endif
+
 #include "atomisp_internal.h"
 #include "mmu/isp_mmu.h"