Skip to contentSkip to conversation

alsa: use set_memory.h header

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

lore
Share & tools
lore
#0 lore raw

PATCH 80/114 alsa: use set_memory.h header

From: Laura Abbott <[email protected]>
Subject: alsa: use set_memory.h header

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

---

 sound/pci/hda/hda_intel.c    |    2 +-
 sound/pci/intel8x0.c         |    4 +++-
 sound/x86/intel_hdmi_audio.c |    2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)
sound/pci/hda/hda_intel.c renamed from sound/pci/hda/hda_intel.c~alsa-use-set_memoryh-header +1 -1
diff -puN sound/pci/hda/hda_intel.c~alsa-use-set_memoryh-header sound/pci/hda/hda_intel.c
@@ -53,7 +53,7 @@
 #ifdef CONFIG_X86
 /* for snoop control */
 #include <asm/pgtable.h>
-#include <asm/cacheflush.h>
+#include <asm/set_memory.h>
 #include <asm/cpufeature.h>
 #endif
 #include <sound/core.h>
sound/pci/intel8x0.c renamed from sound/pci/intel8x0.c~alsa-use-set_memoryh-header +3 -1
diff -puN sound/pci/intel8x0.c~alsa-use-set_memoryh-header sound/pci/intel8x0.c
@@ -40,7 +40,9 @@
 #include <sound/initval.h>
 /* for 440MX workaround */
 #include <asm/pgtable.h>
-#include <asm/cacheflush.h>
+#ifdef CONFIG_X86
+#include <asm/set_memory.h>
+#endif
 
 MODULE_AUTHOR("Jaroslav Kysela <[email protected]>");
 MODULE_DESCRIPTION("Intel 82801AA,82901AB,i810,i820,i830,i840,i845,MX440; SiS 7012; Ali 5455");
sound/x86/intel_hdmi_audio.c renamed from sound/x86/intel_hdmi_audio.c~alsa-use-set_memoryh-header +1 -1
diff -puN sound/x86/intel_hdmi_audio.c~alsa-use-set_memoryh-header sound/x86/intel_hdmi_audio.c
@@ -30,7 +30,7 @@
 #include <linux/pm_runtime.h>
 #include <linux/dma-mapping.h>
 #include <linux/delay.h>
-#include <asm/cacheflush.h>
+#include <asm/set_memory.h>
 #include <sound/core.h>
 #include <sound/asoundef.h>
 #include <sound/pcm.h>

_