diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-01-23 09:49:18 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-22 04:28:06 -0500 |
commit | ea50888d83cfb797ff7efadedc033b33bc2064bc (patch) | |
tree | 4801bba08731591c9f2d7d41506a37552de9e75e /sound/core | |
parent | c82590d2b2877ec846c5313ea897420209b91ea7 (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')
-rw-r--r-- | sound/core/memalloc.c | 2 |
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 { | |||
83 | * Hacks | 83 | * Hacks |
84 | */ | 84 | */ |
85 | 85 | ||
86 | #if defined(__i386__) || defined(__ppc__) || defined(__x86_64__) | 86 | #if defined(__i386__) |
87 | /* | 87 | /* |
88 | * A hack to allocate large buffers via dma_alloc_coherent() | 88 | * A hack to allocate large buffers via dma_alloc_coherent() |
89 | * | 89 | * |