Explorar o código

[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 %!s(int64=19) %!d(string=hai) anos
pai
achega
ea50888d83
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sound/core/memalloc.c

+ 1 - 1
sound/core/memalloc.c

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