aboutsummaryrefslogtreecommitdiff
path: root/sound/core/memalloc.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-01-23 15:49:18 +0100
committerJaroslav Kysela <perex@suse.cz>2006-03-22 10:28:06 +0100
commitea50888d83cfb797ff7efadedc033b33bc2064bc (patch)
tree4801bba08731591c9f2d7d41506a37552de9e75e /sound/core/memalloc.c
parentc82590d2b2877ec846c5313ea897420209b91ea7 (diff)
[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>
Diffstat (limited to 'sound/core/memalloc.c')
-rw-r--r--sound/core/memalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c
index 9f2b88cb587..8360418d333 100644
--- a/sound/core/memalloc.c
+++ b/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()
*