Преглед изворни кода

[ALSA] Use dma_alloc_coherent() hack on i386 only

Modules: Memalloc module

Use dma_alloc_coherent() hack on i386 only (as a valid arch).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai пре 19 година
родитељ
комит
ea50888d83
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      sound/core/memalloc.c

+ 1 - 1
sound/core/memalloc.c

@@ -83,7 +83,7 @@ struct snd_mem_list {
  *  Hacks
  */
 
-#if defined(__i386__) || defined(__ppc__) || defined(__x86_64__)
+#if defined(__i386__)
 /*
  * A hack to allocate large buffers via dma_alloc_coherent()
  *