aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core
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
parent[ALSA] Fix mulaw -> linear conversion in OSS PCM emulation (diff)
downloadlinux-dev-ea50888d83cfb797ff7efadedc033b33bc2064bc.tar.xz
linux-dev-ea50888d83cfb797ff7efadedc033b33bc2064bc.zip
[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')
-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 9f2b88cb5877..8360418d333e 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()
*