[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>
This commit is contained in:
Takashi Iwai 2006-01-23 15:49:18 +01:00 committed by Jaroslav Kysela
parent c82590d2b2
commit ea50888d83
1 changed files with 1 additions and 1 deletions

View File

@ -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()
* *