Skip to contentSkip to conversation

drivers/hwtracing/intel_th/msu.c: use set_memory.h header

PATCH New [email protected] 1 participant 1 message May 8, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 75/114 drivers/hwtracing/intel_th/msu.c: use set_memory.h header

From: Laura Abbott <[email protected]>
Subject: drivers/hwtracing/intel_th/msu.c: use set_memory.h header

set_memory_* functions have moved to set_memory.h. Switch to this explicitly.

---

 drivers/hwtracing/intel_th/msu.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/hwtracing/intel_th/msu.c renamed from drivers/hwtracing/intel_th/msu.c~intel_th-use-set_memoryh-header +3 -1
diff -puN drivers/hwtracing/intel_th/msu.c~intel_th-use-set_memoryh-header drivers/hwtracing/intel_th/msu.c
@@ -27,7 +27,9 @@
 #include <linux/io.h>
 #include <linux/dma-mapping.h>
 
-#include <asm/cacheflush.h>
+#ifdef CONFIG_X86
+#include <asm/set_memory.h>
+#endif
 
 #include "intel_th.h"
 #include "msu.h"

_