]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[ALSA] Use dma_alloc_coherent() hack on i386 only
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Jan 2006 14:49:18 +0000 (15:49 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Mar 2006 09:28:06 +0000 (10:28 +0100)
Modules: Memalloc module

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

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/memalloc.c

index 9f2b88cb5877fc03a962873df41963e9e96fe69c..8360418d333ed15aa69e154579bca37db465cb89 100644 (file)
@@ -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()
  *