]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
agp: use set_memory.h header
authorLaura Abbott <labbott@redhat.com>
Mon, 8 May 2017 22:58:14 +0000 (15:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 May 2017 00:15:13 +0000 (17:15 -0700)
set_memory_* functions have moved to set_memory.h.  Switch to this
explicitly.

Link: http://lkml.kernel.org/r/1488920133-27229-7-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>
drivers/char/agp/amd-k7-agp.c
drivers/char/agp/ati-agp.c
drivers/char/agp/generic.c
drivers/char/agp/intel-gtt.c
drivers/char/agp/sworks-agp.c

index 3661a51e93e2d37db31d1aa4997b0bdfeb149a05..5fbd333e4c6d74bbd2e34f25ac74648f9b13a62d 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/page-flags.h>
 #include <linux/mm.h>
 #include <linux/slab.h>
+#include <asm/set_memory.h>
 #include "agp.h"
 
 #define AMD_MMBASE_BAR 1
index 75a9786a77e6307711a74bcde8f4dd7fee8fcae0..0b5ec7af2414bb924fa1a927aafe0d4115492281 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/slab.h>
 #include <linux/agp_backend.h>
 #include <asm/agp.h>
+#include <asm/set_memory.h>
 #include "agp.h"
 
 #define ATI_GART_MMBASE_BAR    1
index bdf418cac8efd80a91214db24f857b61cedebd4d..658664a5a5aa4f31404584bd283b1d6530e882ba 100644 (file)
@@ -39,7 +39,9 @@
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <asm/io.h>
-#include <asm/cacheflush.h>
+#ifdef CONFIG_X86
+#include <asm/set_memory.h>
+#endif
 #include <asm/pgtable.h>
 #include "agp.h"
 
index 7fcc2a9d1d5afc17aa47f65f15025615d1fe163e..9b6b6023193bcb29ea7390d83b8eab91cae8412b 100644 (file)
@@ -25,6 +25,7 @@
 #include "agp.h"
 #include "intel-agp.h"
 #include <drm/intel-gtt.h>
+#include <asm/set_memory.h>
 
 /*
  * If we have Intel graphics, we're not going to have anything other than
index 9b163b49d976323fae9828f963f5e593031ffb68..03be4ac79b0dfb7d8281bddc0b382e848a3c24f4 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/slab.h>
 #include <linux/jiffies.h>
 #include <linux/agp_backend.h>
+#include <asm/set_memory.h>
 #include "agp.h"
 
 #define SVWRKS_COMMAND         0x04